Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.36 KB | None | 0 0
  1. -- Autenticação Windows
  2. reconfigure
  3. master.dbo.xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\MSSQLServer', N'LoginMode', N'REG_DWORD', 1
  4. GO
  5.  
  6. -- Autenticação Windows e SQL Server
  7. reconfigure
  8. master.dbo.xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\MSSQLServer', N'LoginMode', N'REG_DWORD', 2
  9. GO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement