|
| Total Answers and Comments: 5 |
Last Update: September 02, 2007 Asked by: majji sowjanya |
|
| | |
|
No best answer available. Please pick the good answer available or submit your answer. | |
March 19, 2006 23:28:59 | #1 |
| prafull.vn |
|
Member Since: March 2006 Contribution: 10 |
RE: which function is used to trap the error code and ...
| SQLERRM -- for error Message SQLCODE -- for error Code. eg. EXCEPTION WHEN OTHERS THEN err_code : SQLCODE; err_msg : substr(SQLERRM 1 200); INSERT INTO audit_table (error_code error_msg) VALUES (err_code err_msg); END; |  | | Is this answer useful? Yes | No | | |
|
| |
Go To Top
|