Solved

DB owner

Posted on 2010-08-20
4
519 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks experts.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

763 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

8 Experts available now in Live!

Get 1:1 Help Now