We have some scheduler processes that do some processing and insert records into multiple tables. For some records, the insert date stored is having "00/01/1900 00:13:00.634588 +00:13" as the value instead of the time that the request was processed.
I have raised with my DBA and he said i should check the application. The scheduler processes are CURRENT_TIMESTAMP and SYSDATE to insert into our tables.
Some of the tables that uses trigger are having same issue as well. Also, this is not happening all the time.
Can you suggest what i need to do or check and it is currently causing a lot of data inconsistent issues with transaction reporting.
Below is the trigger statement.
CREATE OR REPLACE TRIGGER CB_SCHEDULES_UPD_TRIG
BEFORE UPDATE ON CB_SCHEDULES
FOR EACH ROW
BEGIN
:NEW.LAST_MODIFIED_DATE_D := CURRENT_TIMESTAMP;
END;
the LAST_MODIFIED_DATE_D column is defined as TIMESTAMP(6) WITH TIME ZONE with default value as CURRENT_TIMESTAMP