Specifying a minimum number of digits in a password

Use min digits in password to specify the minimum number of digits in a password. Valid values are:

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

To set this option, enter:

sp_passwordpolicy 'set', 'min digits in password',
      number

For example, if you have set min digits in password to 4, you must have at least four digits in your password.