14 lines
466 B
Plaintext
Executable File
14 lines
466 B
Plaintext
Executable File
# designed to be called from frontrunner script
|
|
script_folder=$(dirname $0)
|
|
"${script_folder}"/check_conf_file.sh || exit 1
|
|
source config/asc.conf || exit 1
|
|
|
|
if which -s sql; then
|
|
sql_cmd=sql
|
|
else
|
|
echo WARNING: could not find SQLcl \(sql\). Falling back to sqlplus
|
|
sql_cmd=sqlplus
|
|
fi
|
|
|
|
${sql_cmd} "${username}"/"${password}"@"${database_connection}" @"${script_folder}"/uninstall_apex.sql "${apexappid}" "${workspace_name}" "${parsing_schema}" || exit 1
|