trigger with warning message [message #370484] |
Thu, 02 December 1999 22:19 |
Ooiewe
Messages: 3 Registered: December 1999
|
Junior Member |
|
|
Hi,
How do i make sure that a trigger is working before fire that particular trigger?
FYI, the trigger is created with compilation error, but i wouldn't know this as the trigger is created from a C++Builder app. The trigger will still be created although there is compilation error.
Thanks in advance
|
|
|
|
Re: trigger with warning message [message #370499 is a reply to message #370493] |
Tue, 07 December 1999 03:24 |
Ooiewe
Messages: 3 Registered: December 1999
|
Junior Member |
|
|
Warning: Trigger created with compilation errors.
SQL> SHOW ERRORS
Errors for TRIGGER ASM_RETURN_INSERT:
LINE/COL ERROR
--------------------------------------------------
2/1 PL/SQL: SQL Statement ignored
5/8 PLS-00395: wrong number of values in VALUES clause of INSERT
statement
SQL> select status from user_triggers
2 where trigger_name = 'ASM_RETURN_INSERT';
STATUS
--------
ENABLED
Hi,
The trigger is not working, but the STATUS is enabled. What should i do to make sure that any existing trigger is working (successfully compiled without error), as STATUS of the trigger doesn't seems useful to me?
Thanks again
Ooiewe
|
|
|