|
sql
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SQL Server 2000 database owner questionHi,
In my SQL Server 2000 Enterprise Manager, I have created a new Login account JJ. I also created a new database DBJ. What do I need to do to make JJ the owner of the DBJ? Thanks for help. Jason Jason
You don't have to , unless you want JJ to be owner. Show quote "Jason Huang" <JasonHuang8***@hotmail.com> wrote in message news:OdVZraBLIHA.5328@TK2MSFTNGP05.phx.gbl... > Hi, > > In my SQL Server 2000 Enterprise Manager, I have created a new Login > account JJ. > I also created a new database DBJ. > What do I need to do to make JJ the owner of the DBJ? > Thanks for help. > > > Jason > Check out sp_changedbowner
-- Show quoteTibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://sqlblog.com/blogs/tibor_karaszi "Jason Huang" <JasonHuang8***@hotmail.com> wrote in message news:OdVZraBLIHA.5328@TK2MSFTNGP05.phx.gbl... > Hi, > > In my SQL Server 2000 Enterprise Manager, I have created a new Login account JJ. > I also created a new database DBJ. > What do I need to do to make JJ the owner of the DBJ? > Thanks for help. > > > Jason > On Nov 21, 10:15 am, "Jason Huang" <JasonHuang8***@hotmail.com> wrote: You can run sp_changedbowner to make JJ the owner of the database,> Hi, > > In my SQL Server 2000 Enterprise Manager, I have created a new Login account > JJ. > I also created a new database DBJ. > What do I need to do to make JJ the owner of the DBJ? > Thanks for help. > > Jason but most chances that there is no need to do that. You can just add jj to db_owner role in the database and he'll have the same permission as the database owner. Adi |
|||||||||||||||||||||||