COLUMN_MASKS
Preview
This feature is in Public Preview.
INFORMATION_SCHEMA.COLUMN_MASKS
contains the column masking metadata for table columns in the catalog, or all catalogs if owned by the SYSTEM
catalog.
Information is displayed only for columns the user has permission to interact with.
This relation is an extension to the SQL Standard Information Schema.
Definition
The COLUMN_MASKS
relation contains the following.
Name |
Data type |
Nullable |
Description |
---|---|---|---|
|
|
No |
Catalog that contains the table. |
|
|
No |
Schema that contains the table. |
|
|
No |
Name of the table the column is part of. |
|
|
No |
The column that the masks applies to. |
|
|
No |
Catalog that contains the mask function. |
|
|
No |
Schema that contains the mask function. |
|
|
No |
The specific name of the function implementing the mask. |
|
|
Yes |
A comma separated list of additional columns passed to the masking function. |
Constraints
The following constraint applies to the COLUMN_TAGS
relation:
Class |
Name |
Column List |
Description |
---|---|---|---|
Primary key |
|
|
Unique identifier for a column mask. |
Foreign key |
|
|
References COLUMNS |
Foreign key |
|
|
References ROUTINES |