"MS SQL" merges multiple databases into a new database

Source: Internet
Author: User
Original: "MS SQL" merges multiple databases into a new database

In response to work requirements, two databases need to be consolidated into one library:

When you first use the import data, export data, and copy database three tools, the effect is not achieved.

Later, using "Build Script" to execute, success! The steps are as follows:

1. Create a new blank library, Scm_kqyy:

2. Select the database to merge with materials:

3, here is not table, direct next:

4, according to the need to choose: table, stored procedures, users, synonyms.

5, press set, Next:

6. Next Step:

7. Click the "Finish" button:

8, the appearance of the post-generated script:

9. Change the database name:

10, the SSM database operation mode is the same as "materials", the reference step 2~9; This is not the case.

11, complete. the only regret is that the data need to be merged in other ways, and do not know how to get together.

"MS SQL" merges multiple databases into a new database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.