scale_spec 

Syntax

<scale_spec> ::= SCALE <valSCALE_FACTOR>

valSCALE_FACTOR

Scaling factor, can be positive or negative

The value to which the syntax rule refers is multiplied by the corresponding power of ten.

Use

This is a syntax rule for describing columns.

Use it to scale values.

You can combine this syntax rule with round_or_trunc_spec.

DATALOAD TABLE distance
  ...
cm 7 SCALE 2
cm 7 SCALE -3
...
INFILE 'meter.data'

DATAEXTRACT * FROM
  cm    10-14 INTEGER SCALE 2
  m     14-17 INTEGER
  km    18-21 INTEGER SCALE -3

OUTFILE 'dimensions.bin' FORMATTED