You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
##<aid="subheading-4"></a>Manage data classification using T-SQL
125
+
### Manage classifications
126
126
127
+
# [T-SQL](#tab/azure-t-sql)
127
128
You can use T-SQL to add/remove column classifications, as well as retrieve all classifications for the entire database.
128
129
129
130
> [!NOTE]
@@ -133,8 +134,7 @@ You can use T-SQL to add/remove column classifications, as well as retrieve all
133
134
- Remove the classification from one or more columns: [DROP SENSITIVITY CLASSIFICATION](https://docs.microsoft.com/sql/t-sql/statements/drop-sensitivity-classification-transact-sql)
134
135
- View all classifications on the database: [sys.sensitivity_classifications](https://docs.microsoft.com/sql/relational-databases/system-catalog-views/sys-sensitivity-classifications-transact-sql)
135
136
136
-
### Manage classifications using Rest APIs
137
-
137
+
# [Rest APIs](#tab/azure-rest-api)
138
138
You can also use REST APIs to programmatically manage classifications. The published REST APIs support the following operations:
139
139
140
140
-[Create Or Update](https://docs.microsoft.com/rest/api/sql/sensitivitylabels/createorupdate) - Creates or updates the sensitivity label of a given column
@@ -146,21 +146,17 @@ You can also use REST APIs to programmatically manage classifications. The publi
146
146
147
147
-[List Recommended By Database](https://docs.microsoft.com/rest/api/sql/sensitivitylabels/listrecommendedbydatabase) - Gets the recommended sensitivity labels of a given database
148
148
149
-
## Manage data discovery and classification using Azure PowerShell
150
-
151
-
You can use PowerShell to get all the recommended columns in an Azure SQL database and a managed instance.
152
-
153
-
### PowerShell Cmdlets for Azure SQL database
154
-
149
+
# [PowerShell Cmdlet for Azure SQL](#tab/azure-portal-sqldb)
150
+
You can use PowerShell to get all the recommended columns in an Azure SQL database.
0 commit comments