selective csv file loading [message #195787] |
Mon, 02 October 2006 07:02 |
srraajesh
Messages: 63 Registered: May 2005
|
Member |
|
|
Hi Gurus,
I have .csv file with ctrl+A (^A) as field separator. Now, it is not of fixed format, and I have to load selective fields from the .csv file to a table.It also consists a header.
I proceeded like this
Gave a hex based terminator to the CSV file.
FIELDS TERMINATED BY ''
OPTIONALLY ENCLOSED BY '"'
Now, I would like to know how to do selective field insert. As it is not of fixed format, I cannot use POSITION. Can somebody help out with a solution.
Thanks in Advance.
Srr
|
|
|
|
|
|