Hi,
I am writing my first script to execute a Oracle procedure through a
unix script. Could you tell me how do I do error handling here? How do
I know in my script if the procedure executed successfully or failed?
Thanks
#!/usr/bin/ksh
sqlplus user/password@name <<EOC
set time on
set echo on
select sysdate from dual
;
spool procedureName.l og
exec procedureName
spool off
exit
EOC
I am writing my first script to execute a Oracle procedure through a
unix script. Could you tell me how do I do error handling here? How do
I know in my script if the procedure executed successfully or failed?
Thanks
#!/usr/bin/ksh
sqlplus user/password@name <<EOC
set time on
set echo on
select sysdate from dual
;
spool procedureName.l og
exec procedureName
spool off
exit
EOC
Comment