I have 2 database DB1 and DB2.
In DB1 i have a table table1 and inn DB2 i have a table table2.Both the table have same columns.
I want to migrate all the data from table1 to table2.
suggest me the better way to migrate data.
Thanks
I have 2 database DB1 and DB2.
In DB1 i have a table table1 and inn DB2 i have a table table2.Both the table have same columns.
I want to migrate all the data from table1 to table2.
suggest me the better way to migrate data.
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
rahul kumar80 reputationPosted Aug 7, 2021, 3:21 AM EDT
Hey,
I think this will help you:
INSERT INTO DB2.table2(,...),...> from DB1.table1
SELECT <