sys.sensitivity_classifications#
Returns one row for every classified column in the current virtual database. Columns are classified with
ADD SENSITIVITY CLASSIFICATION. The
view takes its name and shape from SQL Server’s sys.sensitivity_classifications catalog view.
Only columns can be classified, so class is always 1 (OBJECT_OR_COLUMN).
Column name |
Data type |
Description |
|---|---|---|
class |
int |
Class of the classified item. Always |
class_desc |
varchar(16) |
Description of the class. Always |
major_id |
int |
Object id of the table the classified column belongs to. |
minor_id |
int |
Column id of the classified column (matches |
label |
sysname |
The sensitivity label, or |
label_id |
sysname |
The label identifier, or |
information_type |
sysname |
The information type, or |
information_type_id |
sysname |
The information type identifier, or |
rank |
int |
The numeric sensitivity rank ( |
rank_desc |
varchar(8) |
The rank name ( |
Permissions#
Requires the VIEW SERVER STATE permission.
Example#
SELECT major_id, minor_id, label, information_type, rank_desc
FROM sys.sensitivity_classifications;