Solved

DB owner

Posted on 2010-08-20
4
521 Views
Last Modified: 2012-05-10
can there only be one DB owner for a DB or more?

thanks
0
Comment
Question by:anushahanna
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
Marten Rune earned 333 total points
ID: 33484962
Only one DBO
But you can have many users with the DB_Owner role
0
 
LVL 9

Assisted Solution

by:Darksquire
Darksquire earned 167 total points
ID: 33484974
The dbo is a user that has implied permissions to perform all activities in the database. Any member of the sysadmin fixed server role who uses a database is mapped to the special user inside each database called dbo. Also, any object created by any member of the sysadmin fixed server role belongs to dbo automatically.

from here:
http://msdn.microsoft.com/en-us/library/aa905208(SQL.80).aspx
0
 
LVL 20

Assisted Solution

by:Marten Rune
Marten Rune earned 333 total points
ID: 33485940
Though there are some applications out there wich checks, and demands that the accunt is the DBO account.

True is that sysadmin users automatically has the DB_Owner role, but the difference between users granted DB_Owner and DBO is that the dbo user cannot be deleted and one DBO is always present in every database.

So if you ask if there can only be one DBO in the database the answer is yes, and furthermore the DBO can not be deleted from the database. Although you can replace the DBO with another account which then becomes the DBO. Any DB_Owner can do this, command: EXEC sp_changedbowner 'DesiredDBOAccount'

Regards Marten
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33510888
Thanks experts.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now