sp_addgroup (Transact-SQL)
SQL Server 2005
Creates a group in the current database.
Important: |
|---|
| sp_addgroup provides compatibility with earlier versions of SQL Server. This feature will be removed in the next version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use roles instead. For more information, see CREATE ROLE (Transact-SQL). |
Transact-SQL Syntax Conventions
To add the new group, sp_addgroup calls sp_addrole.
Important: