Solved

How do I change a single table from dbo ownership?

Posted on 2008-06-11
5
403 Views
Last Modified: 2012-08-13
I'm trying to change ownership of a single table from dbo to one of the managers. I have complete sa rights. The solution that I saw earlier wouldn't work. Please Help.
0
Comment
Question by:DanteKingsley
  • 2
  • 2
5 Comments
 
LVL 31

Accepted Solution

by:
James Murrell earned 250 total points
ID: 21764430
0
 
LVL 19

Assisted Solution

by:Melih SARICA
Melih SARICA earned 250 total points
ID: 21764520
try this

EXEC sp_changeobjectowner 'authors', 'Corporate\GeorgeW'
auhours is the table namei george is the new owner

Melih SARICA
0
 

Author Comment

by:DanteKingsley
ID: 21764629
Hello non zero, I've tried that and everything else and here's what I get...
0
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 21764681
u get any error when u execute the command ?

and what is the version of ur sql server ?
0
 

Author Closing Comment

by:DanteKingsley
ID: 31466371
I apologize for the delay in my response as I was in an auto accident.

Thank you !!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how the fundamental information of how to create a table.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now