Link to home
Start Free TrialLog in
Avatar of Steven Graff
Steven GraffFlag for United States of America

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of sammySeltzer
sammySeltzer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Steven Graff

ASKER

Exactly right, thank you.