| title | DROP SENSITIVITY CLASSIFICATION (Transact-SQL) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| description | DROP SENSITIVITY CLASSIFICATION (Transact-SQL) | |||||||||
| author | Madhumitatripathy | |||||||||
| ms.author | matripathy | |||||||||
| ms.date | 08/06/2024 | |||||||||
| ms.service | sql | |||||||||
| ms.subservice | t-sql | |||||||||
| ms.topic | reference | |||||||||
| f1_keywords |
|
|||||||||
| helpviewer_keywords |
|
|||||||||
| dev_langs |
|
|||||||||
| monikerRange | >=sql-server-linux-ver15 ||>=sql-server-ver15||=azuresqldb-current||=azure-sqldw-latest||=azuresqldb-mi-current |
[!INCLUDE sql-asdb-asdbmi-asa]
Drops sensitivity classification metadata from one or more database columns.
DROP SENSITIVITY CLASSIFICATION FROM
<object_name> [, ...n ]
<object_name> ::=
{
[schema_name.]table_name.column_name
}
The name of the database column from which to remove the classification. Currently only column classification is supported. - schema_name (optional) - Is the name of the schema to which the classified column belongs to. - table_name - Is the name of the table to which the classified column belongs to. - column_name - Is the name of the column from which to drop the classification.
- Multiple object classifications can be dropped using a single 'DROP SENSITIVITY CLASSIFICATION' statement.
Requires ALTER ANY SENSITIVITY CLASSIFICATION permission. The ALTER ANY SENSITIVITY CLASSIFICATION is implied by the database permission CONTROL, or by the server permission CONTROL SERVER.
The following example removes the classification from the column dbo.sales.price.
DROP SENSITIVITY CLASSIFICATION FROM
dbo.sales.priceThe following example removes the classification from the columns dbo.sales.price, dbo.sales.discount, and SalesLT.Customer.Phone.
DROP SENSITIVITY CLASSIFICATION FROM
dbo.sales.price, dbo.sales.discount, SalesLT.Customer.Phone