Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can i create new role and provide owner privilege for specific database in SQL Server?

share|improve this question

migrated from stackoverflow.com Jan 13 '10 at 22:27

This question came from our site for professional and enthusiast programmers.

    
This will be migrated to ServerFault, please look there for good answers. – Lance Roberts Jan 13 '10 at 21:42
    
I'd consider this to be an SO question if the OP wants to be able to script permissions. – David Hall Jan 13 '10 at 21:48
CREATE ROLE NewRole
EXEC sp_addrolemember 'db_owner', 'NewRole'
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.