?
Solved

DB object ownership problem.

Posted on 2011-09-02
2
Medium Priority
?
383 Views
Last Modified: 2012-05-12
Hi

(Please refer to attached screen shot)

I log into a SQL Server 2005 database using account admin_cbp_test and create a simple table, the table then has admin_cbp_test ownership, but I want the table objects always to have dbo ownership. How do I achieve that? Can I only do this with an sa account or can I add the user to a particular to achieve same result?

Thanks.
Image1.png
0
Comment
Question by:jonatec
2 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 2000 total points
ID: 36472251
create table dbo.tablename
...
0
 

Author Closing Comment

by:jonatec
ID: 36472284
Great thanks !
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Suggested Courses

862 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