I am loading a flat file into a SQL database. The flat file is comma delimited. Some of the column values have comma without being encapsulated in double quotes (for e.g - HPPV,TYRE). Now, when I try to use comma as text qualifier, I get a message saying column delimiter and text qualifier cannot be the same.
I want to somehow use comma as text qualifier so that the flat file keeps the value - HPPV,TYRE as on single entity - HPPVTYRE or HPPV TYRE, instead of spilling it over to the next column.
Is there any way we can use comma as text qualifier, it already being a column delimiter ?????
aaa,bbb,ccc,ddd
. If you can tell me which of the columns contains the embedded comma, please explain clearly how that works. – Damien_The_UnbelieverLEN([LineColumn]) - LEN(REPLACE([LineColumn],",",""))
, use a conditional split to send any lines havingCommaCount > 10
to a new flatfile destination. Then process these two files differently. – Troy Witthoeft