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 2000 Forums
 Transact-SQL (2000)
 change authentication using TSQL

Author  Topic 

nadarel
Starting Member

2 Posts

Posted - 2003-09-04 : 01:37:14
Good day,

How do i change the authentication mode using TSQL using OSQL. And Im using MSDE 2000 here?

Thanks

nr
SQLTeam MVY

12543 Posts

Posted - 2003-09-04 : 02:20:01
You can change the mode by updating the registry.
To do it using t-sql you would probably need to use dmo.

==========================================
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

nadarel
Starting Member

2 Posts

Posted - 2003-09-04 : 02:37:25
tnx nr!
what key to change for the authetication mode?
Go to Top of Page

nr
SQLTeam MVY

12543 Posts

Posted - 2003-09-04 : 04:32:47
For default instance
HKLM/Software/Microsoft/MSSQLServer/MSSQLServer/LoginMode
= 1 integrated security, 2 mixed.

==========================================
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 -