foreign keys on table from different database

后端 未结 3 470
心在旅途
心在旅途 2020-12-06 16:25

I have two databases in SQL Server and i have a common table for both the databases an important big table which holds the foreign keys to other tables. The problem is the T

3条回答
  •  孤城傲影
    2020-12-06 17:10

    Here's an article on how to use the SSIS Import / Export wizard:

    http://www.databasejournal.com/features/mssql/article.php/3580216/SQL-Server-2005-Import--Export-Wizard.htm

    The easiest way to do this is just to export one database (I'd use the smallest of the two) to whatever format is the most convenient for you, and then import it into the other. As long as the table names are all different, this shouldn't present any problem.

提交回复
热议问题