oracle - shell script error while running .sql file -
while calling .sql file shell script required data retrieved after completion - below errors shown.
whenever: not found. set: not found. set: not found. set: not found.
run command
sqlplus -s user/pasd@oracle_sid @file.sql
file.sql
whenever sqlerror exit 1 set termout off set echo off set embedded on set feedback off set heading off spool file.log select 'xyz' dual; spool off; exit;
Comments
Post a Comment