GoldenGate, Streams and Distributed Database (MOSC)

MOSC Banner

extract exact timestamp from Record

edited Mar 19, 2014 12:00PM in GoldenGate, Streams and Distributed Database (MOSC) 1 commentAnswered

Hi,

i tried to extract the EXACT timestamp from a record with this mapping:

        string100    = @getenv("RECORD", "TIMESTAMP"),

I got then this value in 'string100' :

2014-01-16 08:40:14

What I expected was a string with microseconds, as I see if I have a look at the record in logdump:

Current LogTrail is /ggs/tdmInput/m2_test/g3059941
Logdump 10769 >n

2014/01/16 08:40:14.101.252 Insert               Len  3686 RBA 0

How can i get the EXACT timestamp ?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center