Specifying a minimum number of lowercase letters in a password

min lower char in password sets the minimum number of lowercase letters for a password. Valid values are:

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

To set the minimum number of lowercase letters in a password, enter:

sp_passwordpolicy 'set', 'min lower char in password',       number

For example, if you set min lower char in password to 3, you can create a login johnd with the password abcdEF1#, by entering:

sp_addlogin 'johnd', 'abcdEF1#'

However, if you attempt to add the following login:

sp_addlogin 'johnd', 'abCDE#1'

and the minimum number of lowercase letters allowed is 3, the command fails.