How to recreate public synonym “DUAL”?
Using SQLDeveloper 4.0.1.14 to create an export script (separate files & "drops" checked), it generated me those 4 lines among others in DROP.sql : DROP SYNONYM "PUBLIC"."DUAL"; DROP SYNONYM "PUBLIC"."DBMS_SQL"; DROP SYNONYM "PUBLIC"."DBMS_LOCK"; DROP SYNONYM "PUBLIC"."DBMS_OUTPUT"; Now that I have accidentally passed the whole script using SYSTEM user, I can no longer do modification (create or drop tables) to the database, I have that error popping: An error was encountered performing the requested operation: ORA-00604: error occurred at recursive SQL level 1 ORA-00942: table or view does