all groups > sql server programming > september 2007 >
You're in the

sql server programming

group:

<newbie> setting dbowner of a database


Re: <newbie> setting dbowner of a database Tom Moreau
9/26/2007 4:18:59 PM
sql server programming:
Check out sp_changedbowner and ALTER DATABASE in the BOL.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


[quoted text, click to view]
Hey

I've created a simple database in Sql Server 2005 Express. I created the
database using Microsoft Sql Server Management Studio Express...

After creating the database, I took a full backup of the database and
deleted the database, because I wanted to learn about doing database
restore...

The problem when restoring the database is that the dbowner is assigned to
another user, I want another user to be the dbowner... How do I specify who
should be dbowner?

Jeff

<newbie> setting dbowner of a database Jeff
9/26/2007 9:34:25 PM
Hey

I've created a simple database in Sql Server 2005 Express. I created the
database using Microsoft Sql Server Management Studio Express...

After creating the database, I took a full backup of the database and
deleted the database, because I wanted to learn about doing database
restore...

The problem when restoring the database is that the dbowner is assigned to
another user, I want another user to be the dbowner... How do I specify who
should be dbowner?

Jeff

AddThis Social Bookmark Button