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. Feb 26, 2015 at 10:50

1 Answer 1


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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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