13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

692 Special Catalog Queries 4 Chapter 24"parameter n"is a quoted string that is enclosed by commas. The values <strong>for</strong> the special queryarguments are specific to each data source. For example, you supply the fullyqualified table name <strong>for</strong> a "Qualifier" argument. In dBase, the value of "Qualifier"might be c:\dbase\tst.dbf, and in SQL Server, the value might betest.customer. In addition, depending on the data source that you use, values<strong>for</strong> an "Owner" argument might be a user ID, a database name, or a library. Allarguments are optional. If you specify some but not all arguments within aparameter, use commas to indicate omitted arguments. If you do not specify anyparameters, no commas are necessary. These special queries might not beavailable <strong>for</strong> all OLE DB providers.OLE DB supports these special queries:OLEDB::ASSERTIONS( )returns assertions that are defined in the catalog that a given user owns.OLEDB::CATALOGS( )returns physical attributes that are associated with catalogs that are accessiblefrom the DBMS.OLEDB::CHARACTER_SETS( )returns the character sets that are defined in the catalog that a given user canaccess.OLEDB::CHECK_CONSTRAINTS()returns check constraints that are defined in the catalog and that a given userowns.OLEDB::COLLATIONS()returns the character collations that are defined in the catalog and that a givenuser can access.OLEDB::COLUMN_DOMAIN_USAGE( )returns the columns that are defined in the catalog, are dependent on a domainthat is defined in the catalog, and a given user owns.OLEDB::COLUMN_PRIVILEGES( )returns the privileges on columns of tables that are defined in the catalog that agiven user grants or can access.OLEDB::COLUMNS( )returns the columns of tables that are defined in the catalogs that a given user canaccess.OLEDB::CONSTRAINT_COLUMN_USAGE()returns the columns that referential constraints, unique constraints, checkconstraints, and assertions use that are defined in the catalog and that a givenuser owns.OLEDB::CONSTRAINT_TABLE_USAGE()returns the tables that referential constraints, unique constraints, checkconstraints, and assertions use that are defined in the catalog and that a givenuser owns.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!