Specifying characters in a password

Use these sp_passwordpolicy parameters to specify the minimum number of characters (digits, upper and lower characters, and so on) in a password:

See sp_passwordpolicy in the Reference Manual: Procedures.