How do I change the SA password and turn off the SQL security policy in SQL 2005?
- 02 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
How do I change the SA password and turn off the SQL security policy in SQL 2005?
- Updated on 02 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
How do I change the SA password and turn off the SQL security policy in SQL 2005 using OSQL?
C:\Documents and Settings\Administrator>osql -E -S.
1> ALTER LOGIN sa WITH CHECK_POLICY = OFF
2> go
1> exec sp_password NULL, 'pharos', 'sa'
2> go
Was this article helpful?