skip to main
|
skip to sidebar
OnePlace4SQL
Monday, 21 May 2007
To enable SQL Authentication for the default instance using T-SQL
EXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'Software\Microsoft
\MSSQLServer\MSSQLServer', N'LoginMode', REG_DWORD, 2
or for a named instance:
EXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'Software\Microsoft
\Microsoft SQL Server\
\MSSQLServer\', N'LoginMode',
REG_DWORD, 2
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2008
(5)
►
September
(1)
►
August
(1)
►
July
(2)
►
June
(1)
▼
2007
(14)
►
June
(4)
▼
May
(10)
Rotate a table in SQL Server
How to transfer database diagrams to a different d...
Moving SQL Server 2000 databases to another machine
To enable SQL Authentication for the default insta...
Selecting Nth row from SQL Server 2000 table
Top 20 large tables
Blocking information
Identifying log running/cpu intensive SQL query us...
Starting/Stoping SQL Server service on remote machine
Script to find out specific word in database
Useful Article
Identifying Unused Objects in a Database
Running Total
Regular Expressions in T-SQL
Some useful trace flags
Paging Through Large Result Sets
Book Online
SQL Server Connection Basics
Transfer logins and passwords between SQL Server
Understanding SQL Server 2000 Locking
Undocumented SPs
Undocumented SQL Server Extended SPs
Quantitative Performance Analysis
About Me
OnePlace4SQL
The goal of this blog is to share and impove my knowledge as a DBA/Developer in SQL Server area. Please do not hesitate to write me comments or questions
View my complete profile
No comments:
Post a Comment