Syntax Rules for Describing the Data Stream
<time_spec> ::= TIME <standard_time_mask> | TIME '<valFREE_MASK>'
valFREE_MASK |
Freely definable output format Use H for hours, M for minutes, and S for seconds. Minutes and seconds must have two digits. Hours must have two or four digits. |
You use this syntax rule to specify the data format of the plain text values in which TIME columns are entered and displayed.
This format only applies to the load or unload command in which it is specified. If no time format is specified in a command, then either the Loader default is used, or a value specified with the SET TIME command.
Freely definable display in a command
CREATE TABLE t_test (col1
TIME)
//
INSERT INTO t_test VALUES (TIME)
//
DATAEXTRACT * FROM t_test
OUTFILE 't_test.data'
TIME 'HHHH-MM-SS'
Example for the content of the target data stream
?0011-46-56?