We made two backups from a database that needed changes in many tables, one is an exact copy of that database and the other is a BACPAC file.
The new model for the database is ready but I was wondering, how can I copy the contents of the tables we want to recover from the copy of the original database? Is it possible?
I tried using SQL Server Management Studio 2012 but I couldn't find an option that could let me copy from a BACPAC file which is weird because everywhere I look into people is saying that by right click on the name of the database on the Tasks submenu there should be an Import option but there's not such option in it.
Can I copy the contents of a table into another table from a different database? Or is there a way to import the data from the BACPAC file into our modified database?
Did you try the following?
Insert into dbA.user.table (a,b,c)
Select a,b,c from dbB.user.table
OR
SELECT a,b,c
INTO dbA.user.table
FROM dbB.user.table
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.