February 19, 2008, 06:21 PM
pbvCreating delimited files to import into DB
Hi,
I see in the documentation that you can do a:
ON TABLE PCHOLD FORMAT DIF
to create a comma-delimted file but it appears to just create an Excel file.
I need to create a delimited file (with comma, |, or period) so I can:
1). Automate this file creation
2). Import into a DB using "LOAD DATA INFILE 'e:\\SAPrepository\\download\\ta_west_po.txt'"
I can't export out of Excel to CSV because that involves me manually touching the file. Any help would be appreciated.
Thanks
February 20, 2008, 06:43 AM
LucasThis will bring it back as a comma seperated file.
ON TABLE PCHOLD FORMAT COMMA
February 20, 2008, 08:15 AM
Tony A... or if you want column titles then use FORMAT COMT
T
February 20, 2008, 09:35 AM
pbvThanks Lucas.... That worked!