In SQL Server 2000, you can use sp_password. CREATE LOGIN is new DDL available in SQL Server 2005 only. Here's the equivalent syntax using sp_password:
sp_password NULL, 'new_password', 'user'
You can search for "sp_password" in BOL for SQL Server 2000 for additional info on this.
Common Password
mrmikechau
Note: I am using MS SQL Server 2000. Thanks
kevin_i_orourke
No, there is no such script that ships with SQL Server because we do not recommend setting a common password for all SQL logins.
Thanks
Laurentiu
Lappu
If you are an administrator and you want to reset a user's password, then you can just execute:
ALTER LOGIN user WITH PASSWORD = 'new_password'
See the ALTER LOGIN topic in BOL for more info on this statement.
Is this what you were looking for
Laurentiu
dogdogkit
How to change a user's password through a System SP If I only know the administrator's username and password.
codingmonkey
sp_password NULL, 'new_password', 'user'
You can search for "sp_password" in BOL for SQL Server 2000 for additional info on this.
Thanks
Laurentiu
Steve McAlpin