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 2000 Forums
 SQL Server Administration (2000)
 Add User to Database

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2007-02-06 : 08:55:41
Alex writes "Hi. My SP backup live database and then restore it as Training database (overwrites Training) weekly
But I need to add a specific user which was assign to training
database initially. However upon restore I will loose it.
How can I add this user using my store proc? Thanks

sql 2000 sp4"

nr
SQLTeam MVY

12543 Posts

Posted - 2007-02-06 : 10:56:12
see sp_adduser

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -