>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!
____________________________________