Drops a login policy.
DROP LOGIN POLICY policy-name
policy-name The name of the login policy.
The statement fails if you drop a policy that is assigned to a user. You cannot drop the root login policy. Use the ALTER USER statement to change a user's policy assignment. See ALTER USER statement.
DBA authority.
None.
SQL/2008 Vendor extension.
The following example creates a login policy, Test11, and then deletes it.
CREATE LOGIN POLICY Test11; DROP LOGIN POLICY Test11;