We help IT Professionals succeed at work.

Account

239 Views
Last Modified: 2011-09-20
How to create a Trusted User account in SQL Server ?
Comment
Watch Question

CERTIFIED EXPERT
Awarded 2008
Awarded 2008
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Awarded 2008
Awarded 2008

Commented:
whoops...change FOR to FROM

create login [domain\username] from windows
go
user somedbname
go
create user someusername for login [domain\username]

Author

Commented:
user somedbname
-- somedbname is sqlserver
CERTIFIED EXPERT
Awarded 2008
Awarded 2008

Commented:
sorry, mean to write:

use somedbname  


somedbname should be replace w/ the name of your database

Author

Commented:
getting syntax error for
user somedbname
CERTIFIED EXPERT
Awarded 2008
Awarded 2008

Commented:
remove the r from user, and replace somedbname w/ the name of a database on your machine.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.