Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I change a single table from dbo ownership?

Posted on 2008-06-11
5
Medium Priority
?
416 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 1000 total points
ID: 21764430
0
 
LVL 19

Assisted Solution

by:Melih SARICA
Melih SARICA earned 1000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

916 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