policy-name
The name of the login policy. Specify root to modify the root login policy.
policy-option-name
The name of the policy option. To view a list of default login policy option names and descriptions, see the Remarks
section of CREATE LOGIN POLICY statement.
policy-option-value
The value assigned to the login policy option. If you specify UNLIMITED, no limits are used. If you specify DEFAULT,
the default limits are used. To view a list of default login policy option values, see the Remarks section of CREATE LOGIN POLICY statement.
The following example alters the Test1 login policy. This example changes the locked and max_connections options. The locked
value indicates that users with the policy cannot establish new connections and the max_connections value limits the number
of concurrent connections that are allowed.
ALTER LOGIN POLICY Test1
locked=ON
max_connections=5;