?
Solved

DB owner

Posted on 2010-08-20
4
Medium Priority
?
551 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 1332 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 668 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 1332 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

840 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