Info from Tobi42 Tobias Schöneberg) taken from Buildserver. Minor change for Postgres because IN types character and integer cannot be matched. Please review for Oracle migration Script.