Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Script Library
 how can I chang sa user' Password by script

Author  Topic 

mgkind
Starting Member

8 Posts

Posted - 2005-01-03 : 04:37:26
I need to change the sa user password by sql script whithout sql enterprise

nr
SQLTeam MVY

12543 Posts

Posted - 2005-01-03 : 04:48:53
see sp_password in bol

exec sp_password 'oldpwd', newpwd', 'sa'


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -