oracle - Run SQL*Plus Script That Runs Other Script files -
ok, read this don't think answer matches question. believe op asking how create sqlplus script runs other sqlplus scripts chosen answer reveals how run sql script in sql*plus.
i know how create sqlplus script that, when run, executes other sqlplus scripts within same directory.
the given answer correct. create directory 2 files: control.sql second.sql
make control.sql contain:
set serveroutput on  prompt "start of control" /  @second.sql /  prompt "end of control" / make second.sql contain:
prompt "start of second" /  prompt "end of second" / then run control.sql
Comments
Post a Comment