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
 Transact-SQL (2000)
 Creating roles from TSQL

Author  Topic 

mb
Starting Member

16 Posts

Posted - 2001-12-05 : 08:45:27
Does anyone know how to create roles from TSQL?

robvolk
Most Valuable Yak

15732 Posts

Posted - 2001-12-05 : 09:11:39
sp_addrole and sp_addrolemember (and a few other system procedures) are listed in Books Online, they should do the trick for ya.

Go to Top of Page
   

- Advertisement -