Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We are replicating data from both Oracle and DB2 sources. In both cases we are using the AR_H_COMMIT_TIMESTAMP variable to populate the commit time of the transaction. We are noticing that values are populated to the millisecond for the DB2 source but not for the Oracle sources. We are wondering why for the Oracle sources is commit timestamp only populated down to the second level and not the microsecond level.
Hello @qlik_admin_lm
Kindly try using the function strftime in the transformation and pass the AR_H_COMMIT_TIMESTAMP value into it.
Regards,
Suresh
We have it configured like this in the Global Transformation:
strftime("%Y-%m-%d %H:%M:%f", $AR_H_COMMIT_TIMESTAMP, "utc")
Hi @qlik_admin_lm ,
I believe this is a restriction of the Oracle database. For example, in the V$LOGMNR_CONTENTS view, the datatype of COMMIT_TIMESTAMP is DATE, which means the value is limited to seconds.
Regards,
Desmond