Reporting error in Batch of a Shell Unix executing sql
Posted: Thu Nov 16, 2006 7:58 am
Hi to all.
I have to launch a shell unix (in a batch) who executes a .sql.
Sql file executes a stored procedure Oracle.
My problem is to return an error message in the batch if anythings goes wrong in the sql ( proc invalid, tables not founded...).
Thanks,
M.
I have to launch a shell unix (in a batch) who executes a .sql.
Sql file executes a stored procedure Oracle.
My problem is to return an error message in the batch if anythings goes wrong in the sql ( proc invalid, tables not founded...).
Thanks,
M.