Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

should I create a db role first or db user first?

Status
Not open for further replies.

shanghai2004

Programmer
Dec 16, 2004
37
CA
Dear Export,

After I created a new database, should I create a db role first or create a db user first?
A Login for the db user exists already.

Is there an easy way to copy users/roles from one database to another?

Thanks
 
Yes. [lol] It doesn't matter which comes first.

Microsoft has a script that will let you copy off all the users as a TSQL script. I have the script at work, but unfortunately, I'm at home until Monday. Maybe someone else has that information.

-SQLBill

Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top