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 2005 Forums
 SQL Server Administration (2005)
 create user scripts

Author  Topic 

sqlfresher2k7
Aged Yak Warrior

623 Posts

Posted - 2007-08-21 : 11:44:10
i need a scripts which should create a user with dbo privileges on the particular database please help

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-08-21 : 12:19:15
Check out sp_grantdbaccess and sp_addrolemember in BOL.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

ratheeshknair
Posting Yak Master

129 Posts

Posted - 2007-08-21 : 12:19:16
check this http://doc.ddart.net/mssql/sql70/sp_addp_20.htm

RKNAIR
Go to Top of Page
   

- Advertisement -