FIX: If You Change Windows Security to Windows/SQL Security the SA Password is Blank
This article was previously published under Q274773
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 236309 (SHILOH_bug)
While you install Microsoft SQL Server, if you choose the SQL Server and Windows mode option for Security Authentication, you receive a prompt in which you must enter a password for the system administrator (SA) account. If you install SQL Server with the Windows only mode option, and then you later change the Security Authentication to SQL Server and Windows mode, the SA password is left blank (NULL). When you change this option in the SQL Server Enterprise Manager, there is no method available that allows you to enter a password for the SA account.
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
You can setup a password for the SA account in SQL Server, prior to changing the security mode from Windows only to SQL Server and Windows, and SQL Server retains the password you have set for the SA account. You can use the sp_password stored procedure to set up a password for the SA account. For example, to set the SA password from NULL to "Test!01", you can use code similar to:
For more information about the sp_password stored procedure, refer to SQL Server Books Online.
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
security sa null blank pwd password
Article ID: 274773 - Last Review: 12/05/2015 21:57:13 - Revision: 3.1
Microsoft SQL Server 2000 Standard Edition
- kbnosurvey kbarchive kbbug kbfix kbsqlserv2000sp1fix KB274773