Solved

to combine more databases into one database

Posted on 2015-01-13
4
47 Views
Last Modified: 2015-01-19
we have three different database and we would like to combine tables into one database so Is it possible to prepare these 3 databases into only one database?
0
Comment
Question by:Teoman Sahin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 10

Expert Comment

by:HuaMinChen
ID: 40548380
You can apply all the relevant codes to generate all DB objects of all 3 DBs, into the overall database.
0
 

Author Comment

by:Teoman Sahin
ID: 40548383
could you please give detailed information about how to do?
0
 
LVL 10

Expert Comment

by:HuaMinChen
ID: 40548398
For table, right-click table > Script table as > Drop and create to > Query

and collect all queries in the same way, for all other DB objects. Then you apply the overall query of all 3 DBs into overall DB.
0
 
LVL 7

Accepted Solution

by:
Swatantra Bhargava earned 500 total points
ID: 40548611
Create database A1

Create SQL script file of another database say like B1 after exporting all the tables
Now execute this script in A! database

Create SQL script file of another database say like C1 after exporting all the tables
Now execute this script in A! database

Now your final Database is A1

Hope this will help you...
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is GIS method of Geometry data type? 6 29
SQL Query 9 25
Migrate SQL 2005 DB to SQL 2016 4 20
SQL Server Pivot 5 36
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
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.

738 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