|
sql
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SQL Server 2000 database owner question
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 Jason
You don't have to , unless you want JJ to be owner. Show quoteHide 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 quoteHide 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
Other interesting topics
The affinity mask specified does not match the CPU mask on this system
SQL Server Transaction Log growing how to determine what indexes are being used. Creating indexes ms sql cluster: should i and how to place tempdb on local drive BOL - Katmai how to append 2 fields together BCP import large text file to sql tables Records Versioning/Auditing System table with max and min values for all SQL data types |
|||||||||||||||||||||||