Hey #Db2 Cracks out in the wild - need your ideas! 1/4
How to generate an UTC Timestamp in a column during a LOAD?
So far I tried this (#Db2 10.5. and 11.1)
- Defining the column as NOT NULL WITH DEFAULT CURRENT TIMESTAMP - CURRENT TIMEZONE --> gives an SQL0104 Syntax error
3/4
- Defining the column as GENERATED ALWAYS AS ( TIMESTAMP(GET_UNIQUE)) --> does not work as non-deterministic functions are not allowed in a GENERATED clause