Re: change Db owner

From: Rulle (rustana@hotmail.com)
Date: 10/15/02


From: "Rulle" <rustana@hotmail.com>
Date: Tue, 15 Oct 2002 00:24:57 -0700


Ok, what I understand is that I better use the sa
as "default" owner. But what if I was only using "Windows
Authentication" security, what's then the solution to
avoid orphaned objects etc?

/Rulle

>-----Original Message-----
>"Rulle" <rustana@hotmail.com> wrote in message
>news:0d1e01c27062$439d3f80$2ae2c90a@phx.gbl...
>> I want to change the db owner for a database to a
windows
>> group that a found by executing sp_helplogins:
>>
>> sp_changedbowner 'domain\windowsusergroup'
>>
>> The query analyzer refuses, and says that the login
>> doesn't exist. Is it not possible to make a
winusergroup a
>> dbo?
>
>Groups will not work in this instance, you'll need to
assign a database
>"owner" that is a user login account.
>
>> It is possible to put my WIN2000 login as the owner,
could
>> that cause any problem? What happens when I quit for
>> instance.
>
>You could, but then that will likely lead to referencing
issues as all
>objects in the database will owned under your account.
Broken or orphaned
>ownership chains are common with this scenario. You may
want to consider
>keeping the owner as 'sa'...
>
>Steve
>
>
>.
>



Relevant Pages

  • Re: Error Message on Startup
    ... MS-MVP Windows XP/ Windows Smart Display ... > background [OWNER is the greyed out login name]). ... > related to me changing the admin account name from OWNER to my name. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Accidentally dropped DBO from database
    ... That error is due to having databases where the owner (dbo) ... is mapped to a login that doesn't exist on the server. ... a user in the database" when using sp_changedbowner, ...
    (microsoft.public.sqlserver.security)
  • Re: Confused about dbo
    ... Make sure you understand the difference between login names and user names. ... database within a SQL Server instance. ... There are several ways you could have the username dbo. ... the true owner of the database. ...
    (microsoft.public.sqlserver.security)
  • Re: Cant access any old tables
    ... I used the same access rights to test the table in the different database. ... Is there a place to set a TABLE owner separate from the database owner? ... but one was SQL based and the other Windows Secured. ...
    (microsoft.public.sqlserver.security)
  • Re: not creating tables as dbo anymore ?
    ... Database Owner (dbo) ... existing user ID in the database specified by database_name. ... with the login of the current connection. ...
    (microsoft.public.sqlserver.security)