Pay attention to the problem of MSSQL view cross-Database Replication

Source: Internet
Author: User

A module of the Business System was developed yesterday. When copying and uploading a table and view of the test database to a work database, the copy Database Wizard was used to copy objects. An error occurred during view replication, the two view-related tables in the working database are immediately dropped, which is really painful.

I remember that I made the same mistake a few years ago and my website was suspended for two days.

Here, I would like to remind myself and everyone that the copy object function must be noted that the SQL view is different from the view in MDB, and the data in the view actually exists in the MSSQL database, when copying an object, the corresponding relationship between the view and the relevant table is re-created, resulting in the deletion of the original data table.

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.