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 2008 Forums
 Other SQL Server 2008 Topics
 How to assign SQL user rights to exist win user?

Author  Topic 

Robert London
Starting Member

26 Posts

Posted - 2010-08-01 : 05:17:21

I want to add an existing windows user so they can access SQL Management.

How do I do this?

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-08-01 : 07:10:43
Here is an example:
USE [master]
GO
CREATE LOGIN [domainname\windowsusername] FROM WINDOWS WITH DEFAULT_DATABASE=[master]
GO



No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -