DROP SECURITY POLICY (Transact-SQL)
Deletes a security policy.
DROP SECURITY POLICY [ IF EXISTS ] [schema_name. ] security_policy_name [;]
Applies to: SQL Server ( SQL Server 2016 (13.x) through current version).
Conditionally drops the security policy only if it already exists.
Is the name of the schema to which the security policy belongs.
The name of the security policy. Security policy names must comply with the rules for identifiers and must be unique within the database and to its schema.
Requires the ALTER ANY SECURITY POLICY permission and ALTER permission on the schema.
DROP SECURITY POLICY secPolicy;
Send feedback about: