Quantcast
Viewing all articles
Browse latest Browse all 24688

csv import to a SQL server table with (") as text qualifier and has (") in the column data escaped with (")

I have a row in the .csv file as below. If I open the csv in excel it opens fine considering the escape characters("). However when I try to import to SQL server using SSIS, it is not taking into consideration the escape character and separating into 2 columns. Any ideas how to handle this.

"column 1","column 2","""CustomUserAgent""=""Mozilla/5.0""","US","United States"


Krishna

Viewing all articles
Browse latest Browse all 24688

Trending Articles