Milleniumlegend
IS-IT--Management
- Dec 16, 2003
- 135
I would like to find out the return code for the SQL Script that has been invoked using a ksh unix script.
I am invoking sql plus from ksh and then passing the *.sql file to the sql plus. How can I determine if the *.sql script execute successfully.
If I use an $? at the time of invoking sql plus I will get the return code for sql plus and not for the script.
Any information would helpful.
Thanks
I am invoking sql plus from ksh and then passing the *.sql file to the sql plus. How can I determine if the *.sql script execute successfully.
If I use an $? at the time of invoking sql plus I will get the return code for sql plus and not for the script.
Any information would helpful.
Thanks