Result sets for each Metadata collection are defined in the section for each collection. However, it is important to note that the DataDirect Connect for ADO.NET data providers will not return exactly the same result set for each Metadata collection. As is standard coding practice in .NET, the data provider returns only the columns of the result set that apply to it.
Description: The Catalogs collection identifies the physical attributes associated with catalogs that are accessible from the DBMS. For some systems, there may be only one catalog.
Description: The Columns collection identifies the columns of tables (including views) defined in the catalog that are accessible to a given user.
Table 5-9 identifies the columns of tables that are defined in the catalog that are accessible to a given user.
Restrictions available: TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME
Sort order: TABLE_SCHEMA, TABLE_NAME, ORDINAL_POSITION
Description: The ForeignKeys collection identifies the foreign key columns that are defined in the catalog by a given user.
Restrictions available: PK_TABLE_SCHEMA, PK_TABLE_NAME, FK_TABLE_SCHEMA, FK_TABLE_NAME
Sort order: FK_TABLE_SCHEMA, FK_TABLE_NAME
Description: The Indexes collection identifies the indexes that are defined in the catalog that are owned by a given user.
Restrictions available: TABLE_SCHEMA, INDEX_NAME, TYPE, TABLE_NAME
Sort order: UNIQUE, TYPE, INDEX_CATALOG, INDEX_SCHEMA, INDEX_NAME, ORDINAL_POSITION
Description: The PrimaryKeys collection identifies the primary key columns that are defined in the catalog by a given user.
Restrictions available: TABLE_SCHEMA, TABLE_NAME
Sort order: TABLE_SCHEMA, TABLE_NAME
Description: The ProcedureParameters collection returns information about the parameters and return codes of procedures that are part of the Procedures collection.
Restrictions available: PROCEDURE_CATALOG, PROCEDURE_SCHEMA, PROCEDURE_NAME, PARAMETER_NAME
Sort order: PROCEDURE_CATALOG, PROCEDURE_SCHEMA, PROCEDURE_NAME, ORDINAL_POSITION
Description: The Procedures schema collection identifies the procedures that are defined in the catalog. When possible, only procedures for which the connected user has execute permission should be returned.
Restrictions available: PROCEDURE_CATALOG, PROCEDURE_SCHEMA, PROCEDURE_NAME, PROCEDURE_TYPE
Sort order: PROCEDURE_CATALOG, PROCEDURE_SCHEMA, PROCEDURE_NAME
Description: The Schemata collection identifies the schemas that are owned by a given user.
Restrictions Available: CATALOG_NAME, SCHEMA_NAME, SCHEMA_OWNER
Sort order: CATALOG_NAME, SCHEMA_NAME, SCHEMA_OWNER
Restrictions Available: TABLE_SCHEMA, TABLE_NAME, TABLE_TYPE
Sort order: TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME
Description: The Tables collection identifies the tables (including views) that are defined in the catalog that are accessible to a given user.
Description: The TablePrivileges schema collection identifies the privileges on tables that are defined in the catalog that are available to or granted by a given user.
Restrictions available: TABLE_SCHEMA, TABLE_NAME, GRANTOR, GRANTEE
Sort order: TABLE_SCHEMA, TABLE_NAME, PRIVILEGE_TYPE
Description: The Views collection identifies the views that are defined in the catalog and that are accessible to a given user.
Restrictions available: TABLE_SCHEMA, TABLE_NAME
Sort order: TABLE_SCHEMA, TABLE_NAME