Transaction timestamp - Connect_CDC - connect_cdc_mimix_share - Latest

Connect CDC System Reference Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (MIMIX Share)
Version
Latest
Language
English
Product name
Connect CDC
Title
Connect CDC System Reference Guide
Copyright
2024
First publish date
2003
Last edition
2024-08-20
Last publish date
2024-08-20T21:40:14.000381

Method:   Transaction timestamp

Function name:   trantime

Parameter list: none

Return type:    CHAR

What the method does:    The implied input is the current data row. For trigger-based servers, returns the transaction commit timestamp. Time is GMT, including fractions of a second.

For log-based servers, returns transaction start timestamp.

The format is:

yyyymmddhhmmssffffff

If a Copy request, sends a zero-length string. To see an example of how to code an expression to return a different value than the default, see  Code row optype to return a value other than a zero-length string and Code row timestamp to return a value other than a zero-length string.

Note: All 6 digits (for System i5 and SQL Server) contain fractional digits that are accurate to 6 digits. Other databases fractional digits may be padded with up to 6 zeros so that all timestamps for all databases total 20 digits.