
This repository is configured to take snapshots of database object DDLs. This is to assist with the tracking database changes over time.
Ensure DBA directories are created:
-- /aux/dbops can be replaced with your directory of choice
CREATE OR REPLACE DIRECTORY DDL_TABLE_DIR AS '/aux/dbops/tables';
CREATE OR REPLACE DIRECTORY DDL_VIEW_DIR AS '/aux/dbops/views';
...
CREATE OR REPLACE DIRECTORY DDL_PACKAGE_DIR AS '/aux/dbops/packages';
CREATE OR REPLACE DIRECTORY DDL_PROCEDURE_DIR AS '/aux/dbops/procedures';
CREATE OR REPLACE DIRECTORY DDL_TRIGGER_DIR AS '/aux/dbops/triggers';
./create_dirs.sh
./rm_sql_clean.sh
To run DDL export, execute EXPORT_DDL_DRIVER.sql
in Oracle as dba
Errors are output to error_log.txt
- Bill Than
- Nathan Ackerson
- Joshua Wry