Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to assign role to a database in SSMS?
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01529571
Message ID:
01529576
Views:
24
>Hi,
>
>I need to assign a role db_owner to a database. How do I do it in SSMS or in T-SQL?
>
>TIA.


You can use sp_addrole to add a new role, but db_owner is a standard database role (built-in).

Are you just trying to assign that role to a user?
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform