Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can we reset sa password in sql express 2005 from .net 2008 ?
Posted

1 solution

Connect to your DB and issue this SQL command:
SQL
ALTER LOGIN sa WITH PASSWORD = 'NewPassword';

The user that is executing this command must have CONTROL SERVER permission.
 
Share this answer
 
Comments
[no name] 18-Jan-20 23:53pm    
Nice

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900