First, log on to the SQL query analyzer using windows authentication, and then EXECsp_passwordNULL, hello. Then, the sa password can be changed to hello. To change the SQL forgot sa password from mixed mode to integrated (Windows) Authentication mode, follow these steps: 1. Stop MSSQLSERVER and all
First, log on to the SQL query analyzer using windows authentication, and then execute EXEC sp_password NULL, 'Hello', 'sa 'to change the sa password to hello. To change the SQL forgot sa password from mixed mode to integrated (Windows) Authentication mode, follow these steps: 1. Stop MSSQLSERVER and all
First, log on to the SQL query analyzer using "windows Authentication", and then execute
EXEC sp_password NULL, 'Hello', 'sa ', you can change the sa password to hello.
SQL forgot sa password modification method
To switch from hybrid mode to integrated (Windows) Authentication mode, follow these steps:
1. To stop MSSQLSERVER and all other related services (such as SQLSERVERAgent), open the service program in "Control Panel.
2. Open the Registry Editor. To open the Registry Editor, click Start and run, and then type "regedt32" (excluding quotation marks)
3. Find one of the following sub-items (depending on whether MSDE is installed as the default MSDE instance or as a named instance ):
HKEY_LOCAL_MACHINESoftwareMicrosoftMSSqlserverMSSqlServer or
HKEY_LOCAL_MACHINESoftwareMicrosoftMicrosoft SQL ServerMSSQLServer
4. In the right pane, double-click the LoginMode subitem.
5. In the Dword Editor dialog box, set the value of this subitem to 1. Make sure that the Hex option is selected, and then click OK.
6. Restart the MSSQLSERVER and SQLSERVERAgent services for the change to take effect.
The above is the SQL Server 2000 sa password introduced to you by The MIIT. I hope it will help you.