db_source_sql_file (public)

 db_source_sql_file [ -dbn dbn ] [ -callback callback ] file

Defined in packages/acs-tcl/tcl/01-database-procs.tcl

Sources a SQL file into Oracle (SQL*Plus format file) or PostgreSQL (psql format file).

Switches:
-dbn (optional)
The database name to use. If empty_string, uses the default database.
-callback (optional, defaults to "apm_ns_write_callback")
Parameters:
file (required)

Partial Call Graph (max 5 caller/called nodes):
%3 ad_acs_require_basic_schemata ad_acs_require_basic_schemata (private) db_source_sql_file db_source_sql_file ad_acs_require_basic_schemata->db_source_sql_file apm_package_delete apm_package_delete (public) apm_package_delete->db_source_sql_file apm_package_install_data_model apm_package_install_data_model (private) apm_package_install_data_model->db_source_sql_file install::xml::action::source install::xml::action::source (private) install::xml::action::source->db_source_sql_file tsearch2_driver::install::preinstall_checks tsearch2_driver::install::preinstall_checks (private) tsearch2_driver::install::preinstall_checks->db_source_sql_file ad_file ad_file (public) db_source_sql_file->ad_file apm_callback_and_log apm_callback_and_log (public) db_source_sql_file->apm_callback_and_log db_driverkey db_driverkey (public) db_source_sql_file->db_driverkey db_get_database db_get_database (public) db_source_sql_file->db_get_database db_get_dbhost db_get_dbhost (public) db_source_sql_file->db_get_dbhost

Testcases:
No testcase defined.
[ show source ]
Show another procedure: