![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, I've recently been landed with the task of importing a csv file from a third party company into a database table. This csv file is auto-generated by the third party, and the format etc can't be changed. Text/string data within each 'row' is enclosed within double quote marks (eg. "string data") with fields separated by commas. Using DTS, I am attempting to import this data at my end. The first ~7000 rows import fine, but the import fails when it encounters an escaped quotation mark (sample: "123456","ABC3\"","XYZ" ). My question is: is there a way to get DTS to recognize that the \" denotes an escapted quotation mark, rather than being a field separator? If possible, I'd prefer to avoid a solution that requires an ActiveX transformation script on each field (simply because there are around 100 columns and up to 50,000 rows in each csv file), but if there's no other option, we'll just have to wear the performance hit. TIA, Dave |
![]() |
| Thread Tools | |
| Display Modes | |
| |