标签:like splay ati can form value ram number forms
I wrote this trigger around 4 years ago to handle errors in an application based on Oracle Forms 6i. This trigger handles all errors with some custom messages for some specific errors and not only this after giving an appropriate message to the user it logs the error into a table named error_log, so that a DBA can view all the errors with their execution time, user and program information. See the example below: 1 | SQNO | NUMBER(10) |
2 | USERNAME | VARCHAR2(20 BYTE) |
3 | ERROR_MSG | VARCHAR2(200 BYTE) |
4 | ERROR_CD | NUMBER(10) |
5 | ERROR_TP | VARCHAR2(10 BYTE) |
6 | ERROR_DT | DATE |
7 | LOCATION | VARCHAR2(20 BYTE) |
An Example of On-Error Trigger in Oracle Forms
标签:like splay ati can form value ram number forms
原文地址:http://www.cnblogs.com/quanweiru/p/6220533.html