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
 SQL Server 2005 Forums
 Transact-SQL (2005)
 change user login to SQL Server authentication

Author  Topic 

mpandey
Starting Member

5 Posts

Posted - 2009-01-24 : 12:49:01
Hi,

I want to change the login for a user 'abc' to the SQL Server authentication.
I used the following code:

ALTER LOGIN abc ENABLE
go

ALTER LOGIN abc WITH PASSWORD = 'xyz'
go

I got an error:

Msg 15080, Level 16, State 1, Line 1
Cannot use parameter PASSWORD for a Windows login.

I need to change it to SQL Server authentication mode.
How can I do that?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-24 : 13:37:53
http://msdn.microsoft.com/en-us/library/ms188670.aspx
Go to Top of Page
   

- Advertisement -