Solved

to combine more databases into one database

Posted on 2015-01-13
4
39 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
  • 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
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.

744 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

10 Experts available now in Live!

Get 1:1 Help Now