Database Porting: What Actually Has to Move When You Change DBMS
Porting a database to another DBMS is five jobs, not one: the schema, the data, the SQL in your application, the code inside the database, and the behaviour nobody wrote down. How hard each is depends on the pair.
Read article