Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 6th, 2006, 12:27 AM
Authorized User
Join Date: Feb 2006
Posts: 67
Thanks: 7
Thanked 0 Times in 0 Posts
Send a message via Yahoo to beetle_jaipur
Default how to change owner instead of DBO


i want to change table owner from DBO to my created User name for example
i want to change my table "Login" owner
curent owner is : DBO
and i want to change it with my created user : ashok

how can i do this


Old April 6th, 2006, 08:44 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts

Copied from Books On Line:


Changes the owner of an object in the current database.

sp_changeobjectowner [ @objname = ] 'object' , [ @newowner = ] 'owner'


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change File Owner using .NET 1.1 bhuvanagiri .NET Framework 1.x 0 January 24th, 2008 05:09 AM
change table to dbo hepsy.i ASP.NET 1.0 and 1.1 Professional 1 August 7th, 2007 07:41 AM
valid dbo; permission to impersonate dbo est BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 5 February 21st, 2007 04:44 AM
Owner name before function sunil menghani SQL Server 2000 2 April 10th, 2005 02:12 PM
Change the owner,permission of system table in MS ajish_jose Access 1 September 28th, 2003 12:16 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.