SQL 2005 dbo owner on tables

Posted on 2007-08-02
Last Modified: 2008-02-07
I am logging in as

ausername (sa permissions)

Then I am creating tables and they default to owner dbo.  I tried

Use datbasename

exec sp_changeDBOwner owner

created the tables but it is still creating the tables with 'dbo'  any idea?
Question by:yanci1179
    LVL 5

    Expert Comment

    when you create the tables create them as user.table(my columns).  

    If you just do table(columns) and you have sa permissions it will always defualt to dbo.table

    Author Comment

    can i change the permissions so the default goes to the user name?  What permissions should I use?  I need to create database, tables, updates, inserts, deletes, into the created objects.
    LVL 5

    Accepted Solution


    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
    This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
    Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
    Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

    734 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