What's the maximum password size I can get on SQL Server 2012/2014? I was unable to find this information online.

I mean SQL Server credentials itself, not passwords inside tables.

Thanks a lot

  • Can you clarify whether it's SQL Server or SQL Azure your talking about, please? They are different products with differing constraints and abilities. – Michael Green Feb 26 '15 at 10:50

Passwords are case-sensitive. Passwords should always be at least 8 characters long, and cannot exceed 128 characters. Passwords can include a-z, A-Z, 0-9, and most non-alphanumeric characters. Passwords cannot contain single quotes, or the login_name.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.