0

By mistake I added foreign key "ON DELETE CASCADE" to one table. So some records from are gone after some time, but I made backup of it before. How can I restore deleted records from backup, without overriding other data. I need just to add missing records to table.

jarlh
  • 35,821
  • 8
  • 33
  • 49
Sam Stevenson
  • 47
  • 1
  • 9

1 Answers1

0

From the backup just take only those tables and import into a temp table then select(required records) and insert into the original table by or just from the backup keep only the tables and the deleted records by editing manually then run the backup.

James
  • 1,721
  • 2
  • 5
  • 20