Hi All,
When I am running the following insert command. I am getting the following error.
COMMAND:
INSERT INTO WCCADM12.CDEVENTDEFTP ( LANG_TP_CD , EVENTDEF_TP_CD , EVENT_CAT_CD , EVENT_NAME , ENABLE_NOTIFY , EXPIRY_DT , DESCRIPTION , LAST_UPDATE_USER , LAST_UPDATE_DT ) VALUES
( 100, 15, 6, 'PartyComplianceNextVerify', 'Y', null, 'Party Compliance Next Verify Date', null, CURRENT_TIMESTAMP )
ERROR::
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0727N An error occurred during implicit system action type "7".
Information returned for the error includes SQLCODE "-551", SQLSTATE "42501"
and message tokens "WCCADM12|ALTER TABLE|WCCADM12.CDEVENTDEFTP". LINE
NUMBER=0. SQLSTATE=56098
When I tried for solutions on google. Many replied that the solution is to
1. drop the triggers related to this table
2. then run the insert commands
3. create the triggers again.
The above steps are absolutely working. But as this is in DEV. I am ok to do this and get rid of the issues. But I am worried about doing this in PROD. I just want to know that does anyone has encountered the same issue and could be fixed without dropping and recreating the Triggers.
Actually my triggers on this table are for only Updates and Deletes but not on the INSERTS. I am not able to understand why the inserrts are failing.
Anyone please help me in finding a solution for this issue without dropping and recreating the triggers.
DB2 Version : DB2 v 9.5
OS Level : AIX 5.3