Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

COLUMN_DOMAIN_USAGE Rowset

GUID: DBSCHEMA_COLUMN_DOMAIN_USAGE

Number of restriction columns: 4

Restriction columns: DOMAIN_CATALOG, DOMAIN_SCHEMA, DOMAIN_NAME COLUMN_NAME

Default sort order: DOMAIN_CATALOG, DOMAIN_SCHEMA, DOMAIN_NAME, TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, COLUMN_GUID, COLUMN_PROPID

Description: The COLUMN_DOMAIN_USAGE rowset identifies the columns defined in the catalog that are dependent on a domain defined in the catalog and owned by a given user.

Column name

Type indicator

Description

DOMAIN_CATALOG

DBTYPE_WSTR

Catalog name. NULL if the provider does not support catalogs.

DOMAIN_SCHEMA

DBTYPE_WSTR

Unqualified schema name. NULL if the provider does not support schemas.

DOMAIN_NAME

DBTYPE_WSTR

View name.

TABLE_CATALOG

DBTYPE_WSTR

Catalog name in which the table is defined. NULL if the provider does not support catalogs.

TABLE_SCHEMA

DBTYPE_WSTR

Unqualified schema name in which the table is defined. NULL if the provider does not support schemas.

TABLE_NAME

DBTYPE_WSTR

Table name.

COLUMN_NAME

DBTYPE_WSTR

Column name. This column, together with the COLUMN_GUID and COLUMN_PROPID columns, forms the column ID. One or more of these columns will be NULL, depending on which elements of the DBID structure the provider uses.

COLUMN_GUID

DBTYPE_GUID

Column GUID.

COLUMN_PROPID

DBTYPE_UI4

Column property ID.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.