Extract code or script of database objects
问题 I need to extract code(script) from all my functions, procedures, packages, views and tables, so that when I move to production I could run the script to create all the objects. While developing I did not take script backup of all database objects. What is the best way to extract code or script? Any suggestion or help is highly appreciable. Thanks 回答1: You do use a version control system don't you? Please do. Failing that you can use the system function dbms_metadata.get_ddl, which will