IBM PureData System for Analytics, Version 7.1

Decimal delimiter examples

The following are examples of how to use the decimal delimiter option. The option use is shown in bold text.

For text-delimited format for the table level:
INSERT INTO <target-table> SELECT * FROM '<external-table>' USING 
(delim 'delim' decimalDelim ',');
For fixed-length format for the table level:
INSERT INTO <target-table> SELECT * FROM '<external-table>' USING 
(decimalDelim ',' format 'fixed' layout (c1 int bytes 4, c2 float bytes 
6, c3 numeric(10,2) bytes 11, c4 time 24HOUR ':' bytes 11 );
For fixed-length format for the column level.


Feedback | Copyright IBM Corporation 2014 | Last updated: 2014-02-28