DROP LOGIN POLICY Statement

Removes a login policy from the database.

Quick Links:

Go to Examples

Go to Usage

Go to Permissions

Syntax

DROP LOGIN POLICY policy-name

Examples

(back to top)

Usage

(back to top)

A DROP LOGIN POLICY statement fails if you attempt to drop a policy that is assigned to a user. You can use either the ALTER USER statement to change the policy assignment of the user or DROP USER to drop the user.

Permissions

(back to top)

Requires the MANAGE ANY LOGIN POLICY system privilege.

Related reference
ALTER USER Statement
CREATE LOGIN POLICY Statement
DROP USER Statement
ALTER LOGIN POLICY Statement