Specifying the password expiration

password expiration specifies the number of days a password can exist before it expires. You specify this value on a global basis. Valid values include:

By default, this password complexity option is turned off and this check is not applied to passwords.

To specify the password expiration date, enter:

sp_passwordpolicy 'set', 'password expiration', number