I have a table which needs to export to file. This file
is read by a mainframe.
The file needs to be fixed length, comma separated.
EX.
Table: manifest(6),qty n(3,0),carton c(10),D
The file needs to be as follows (assuming 2 records december 1 2002 YYYYMMDD)
01234 , 1,1234567890,20021201,
M12345, 10,1234567890,20021201
I have tried COPY to xxx.txt type CSV but it does not
contain commas and the date format.
Can I parse this to file?
Thank you
EMC
is read by a mainframe.
The file needs to be fixed length, comma separated.
EX.
Table: manifest(6),qty n(3,0),carton c(10),D
The file needs to be as follows (assuming 2 records december 1 2002 YYYYMMDD)
01234 , 1,1234567890,20021201,
M12345, 10,1234567890,20021201
I have tried COPY to xxx.txt type CSV but it does not
contain commas and the date format.
Can I parse this to file?
Thank you
EMC