vw_sensitivity_labels
Creates, updates, deletes, gets or lists a vw_sensitivity_labels
resource.
Overview
Name | vw_sensitivity_labels |
Type | View |
Id | azure.sql.vw_sensitivity_labels |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
managedBy as managed_by,
JSON_EXTRACT(properties, '$.schemaName') as "schema_name",
JSON_EXTRACT(properties, '$.tableName') as "table_name",
JSON_EXTRACT(properties, '$.columnName') as "column_name",
JSON_EXTRACT(properties, '$.labelName') as "label_name",
JSON_EXTRACT(properties, '$.labelId') as "label_id",
JSON_EXTRACT(properties, '$.informationType') as "information_type",
JSON_EXTRACT(properties, '$.informationTypeId') as "information_type_id",
JSON_EXTRACT(properties, '$.isDisabled') as "is_disabled",
JSON_EXTRACT(properties, '$.rank') as "rank",
subscriptionId,
resourceGroupName,
serverName,
databaseName,
schemaName,
tableName,
columnName,
sensitivityLabelSource
FROM azure.sql.sensitivity_labels
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serverName = 'replace-me' AND databaseName = 'replace-me' AND schemaName = 'replace-me' AND tableName = 'replace-me' AND columnName = 'replace-me' AND sensitivityLabelSource = 'replace-me';
SELECT
managedBy as managed_by,
json_extract_path_text(properties, '$.schemaName') as "schema_name",
json_extract_path_text(properties, '$.tableName') as "table_name",
json_extract_path_text(properties, '$.columnName') as "column_name",
json_extract_path_text(properties, '$.labelName') as "label_name",
json_extract_path_text(properties, '$.labelId') as "label_id",
json_extract_path_text(properties, '$.informationType') as "information_type",
json_extract_path_text(properties, '$.informationTypeId') as "information_type_id",
json_extract_path_text(properties, '$.isDisabled') as "is_disabled",
json_extract_path_text(properties, '$.rank') as "rank",
subscriptionId,
resourceGroupName,
serverName,
databaseName,
schemaName,
tableName,
columnName,
sensitivityLabelSource
FROM azure.sql.sensitivity_labels
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serverName = 'replace-me' AND databaseName = 'replace-me' AND schemaName = 'replace-me' AND tableName = 'replace-me' AND columnName = 'replace-me' AND sensitivityLabelSource = 'replace-me';