DROP LOGIN POLICY Statement

Removes a login policy from the database.

Syntax

DROP LOGIN POLICY policy-name

Examples

Usage

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

Requires the MANAGE ANY LOGIN POLICY system privilege.