We help IT Professionals succeed at work.

SQL 2008 create sa-role user from command prompt

I can use

osql  -S server -E

to open an osql session.

How, then, could I create a user and a login with sa rights/role using t-sql?

Thanks,
Steven
Comment
Watch Question

Top Expert 2011
Commented:
Steven GraffPresident
CERTIFIED EXPERT

Author

Commented:
Exactly right, thank you.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.