Syntax
<column_descriptor> ::= <valCOLUMN_NAME>
<field_pos> <format_spec>
valCOLUMN_NAME |
Column name The columns can be assigned special values (date, time, timestamp, Boolean values) and NULL or default values can be loaded. |
Use
This is a
syntax rule for describing columns.You use it in a
command for loading data to assign a data field in the source file to a column in the target table. To do this, you specify the column name, the position, and the data type of the data in the source file.DATALOAD TABLE article
foa 01-08 CHAR
des 09-39 CHAR
stock 40-43 INTEGER
min_ord 44-45 INTEGER
ordered 46-49 INTEGER
del_date 50-57 CHAR
price 58-65 DECIMAL (2)
weight 66-69 REAL
INFILE 'article.data' FORMATTED