2.4k questions
2.4k answers
99.5k users
you must disable constrains
export the data of all relative tables in INSERT statements from source or all the tables with drop option and create option
go to the destination database
run the script that
Drop the relative tables
Create and populate them
enable constraints.