Hi folks:
I am working on an application that imports a csv file into a mysql database. Unfortunately whoever created the files that I am importing thought it would be a wonderful idea to use a quotation mark (chr$(34)) to abbreviate inches. You can imagine how much fun this is making the import routine.
I am looking for ideas on how to remove these characters from the file, since they are obviously compromising the resultant sql statement.
Replace does not work in this instance because the system sees the quotation mark as the end of field marker... it seems to override the comma.
All thoughts welcome!
Chris
I am working on an application that imports a csv file into a mysql database. Unfortunately whoever created the files that I am importing thought it would be a wonderful idea to use a quotation mark (chr$(34)) to abbreviate inches. You can imagine how much fun this is making the import routine.
I am looking for ideas on how to remove these characters from the file, since they are obviously compromising the resultant sql statement.
Replace does not work in this instance because the system sees the quotation mark as the end of field marker... it seems to override the comma.
All thoughts welcome!
Chris