Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6798697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:45:41+00:00 2026-05-26T18:45:41+00:00

I use sql-server-2005,My database contains many tables. When I explore my db, I see

  • 0

I use sql-server-2005,My database contains many tables.
When I explore my db, I see all table names are prefixed with “dbo”. I want to replace the “dbo” with the database name see below:

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:45:42+00:00Added an answer on May 26, 2026 at 6:45 pm

    As other have said dbo is the default schema. I’m not sure why you would want to create a schema that has the same name as the database, but to accomplish what you’ve asked you would have to do something like the following:

    • Create a new schema using the CREATE SCHEMA statement

    • Move your tables from the default schema to the new schema using the ALTER SCHEMA statement.

    An example would be:

    IF NOT EXISTS (SELECT * FROM sys.schemas WHERE name ='iMature_US')
    EXEC dbo.sp_executesql @statement=N'CREATE SCHEMA iMature_US';
    GO   
    
    ALTER SCHEMA iMature_US TRANSFER dbo.PODetail
    GO
    

    You could write a script to transfer all the tables using data from the INFORMATION_SCHEMA.TABLES view.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to use inheritance in database (Specifically in SQL Server 2005)?
I use SQL Server 2005. I have a simple logging table that my web
using SQL Server 2005 with SP4 and I am designing a database table. Here
Current Implementation Sql Server 2005 Database with a table called messages with a column
In a SQL Server 2005 database, I have lots of tables like this Products
Can I use Reporting Services 2008 with SQL Server 2005 database? Do I need
we have a table with +- 500k rows in Sql Server 2005 database and
I am planning for monitoring application which will use SQL Server 2005/08 database. It
I use sql server 2005 as my database for my web application.... I generated
I have a large (100+ tables) SQL Server 2005 database that I would like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.