38.13. column_domain_usage

The view column_domain_usage identifies all columns (of a table or a view) that make use of some domain defined in the current database and owned by a currently enabled role.

Table 38.11. column_domain_usage Columns

NameData TypeDescription
domain_catalogsql_identifierName of the database containing the domain (always the current database)
domain_schemasql_identifierName of the schema containing the domain
domain_namesql_identifierName of the domain
table_catalogsql_identifierName of the database containing the table (always the current database)
table_schemasql_identifierName of the schema containing the table
table_namesql_identifierName of the table
column_namesql_identifierName of the column