Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Import text file with backslash double qoute ( \" ) embedded in string

$
0
0

I need to do a recurring import of a text file that has \" embedded in strings.  For example, a row for the companyToys "R" Us would look like this-

accountno|company|street1|street2|city|phone

123456|"Toys \"R\" Us"|"123 Main St"|" Unit\"B\""|"Toytown"|18001112222

(bolded for emphasis)

The SQL2012 import wizard is fine with double-double quotes, but it chokes on this embedded backslash-double quote.  The data provider insists that no one else has a problem with this format.  Any suggestions on how to either configure the import wizard to consume these embedded escape characters, or to configure a DTS step to replace them with a double-double quote?



Viewing all articles
Browse latest Browse all 24688

Trending Articles