Re: Changing DBO

From: Dan Guzman (guzmanda_at_nospam-online.sbcglobal.net)
Date: 09/30/04


Date: Wed, 29 Sep 2004 22:51:04 -0500

Below was my response to JLFleming. If this doesn't address your issue,
please elaborate on your issue.

You need to first change the ownership of the existing objects to 'dbo'
using sp_changeobjectowner. You can then remove the existing database user
using sp_revokedbaccess and change database ownership to that account with
sp_changedbowner.

-- 
Hope this helps.
Dan Guzman
SQL Server MVP
"Volt" <anonymous@discussions.microsoft.com> wrote in message 
news:397401c4a630$b0ffed60$a501280a@phx.gbl...
> Have you sorted it as yet
>
>>-----Original Message-----
>>
>>I have assigned an SQL account as DBO of a database.  I
>>am going to change the DBO to a Windows login account.
>>When I run the sp_changedbowner stored procedure, will
>>change the owner of the objects created by the SQL
>>account?  The table objects have the SQL account as the
>>owner.  If not, will I have to run the
>>sp_changeobjectowner too?
>>
>>
>>Thank you,
>>JLFleming
>>.
>> 


Relevant Pages

  • Re: cannot rename files or change icons
    ... If your repair functions in Office are failing, your only real choice is an uninstall and reinstall of the entire Office set. ... As far as the read only setting, you are not really concerned by that, since it's a normal part of XP's file system that all files capable of ownership are indeed read only to those who do not own it. ... Thanks for the excellent Administrator Account directions - worked perfectly ... I've attempted that from both Administrator ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Security question for XP gurus
    ... If your account is in the "local" admin group of her PC, ... then you can take ownership (as this sounds what you have done ... >>> I have a USB-IDE converter which I have used to conduct data recovery ... If you are running Microsoft Windows XP Home ...
    (microsoft.public.windowsxp.security_admin)
  • Re: I am unable to switch ownership of files in a prior C: Hard drive
    ... Home didn't have the SECURITY tab in Explorer properties. ... You needed PRO to take ownership of files. ... owner and edit and changed the owner to that of my VISTA administrator ... account by selecting as a new owner my new admin account, ...
    (microsoft.public.windows.vista.administration_accounts_passwords)
  • Re: Need help setting up a new identity
    ... >> the application in that user account. ... >> If you understand how to take ownership, you might be able to use the ... >> Open Explorer, go to Tools and Folder Options, on the view tab, scroll to ... Install the applications to the same ...
    (microsoft.public.windowsxp.basics)
  • Re: cannot rename files or change icons
    ... Thanks for the excellent Administrator Account directions - worked perfectly ... I've attempted that from both Administrator ... permissions for Office and related sub folders - both Administrator and I ... appear with Full permission and Ownership. ...
    (microsoft.public.windowsxp.help_and_support)