Unable to read CSV file with double quotes in cell value
<p>I'm trying to read a CSV file with this kind of lines :</p>

<p>"A text";"Another text";"A text with ""quotes"""</p>

<p>In my Flat File connection, I filled the Text qualifier as ".
When I click on the Preview button, the lines are shown properly : A text with ""quotes"" (Shouldn't it show only one double quote btw ?)</p>

<p>But as soon as I try to execute the package, an error occurs saying that the column delimiter cannot be found:</p>

<p>[Source du fichier plat [1313]] Erreur*: «*Le séparateur de colonne pour la colonne «<em>COL3</em>» est introuvable.</p>

<p>If I remove those double double-quotes within the cell value it works fine.</p>

<p>Is there any way to make SSIS read those cells with double quotes in it ?</p>

<p>For the same data, you can see how 2008 versus 2012 will preview the data. Observe that Col2 either does, or does not escape the double quote (A text with "quotes" vs A text with ""quotes"")</p>

<p><a href="https://i.stack.imgur.com/jipOC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jipOC.png" alt="enter image description here"></a></p>

<p>The result of using the 2008 version is that it will fail with the following error messages</p>

<blockquote>
  <p>The column delimiter for column "Col2" was not found.</p>
  
  <p>An error occurred while processing file "c:\ssisdata\so\input\so_36033443.txt" on data row 1.</p>
</blockquote>

<p>A reproduction of the problem using Biml follows</p>

<pre><code>&lt;Biml xmlns="http://schemas.varigence.com/biml.xsd"&gt;
  &lt;Connections&gt;
    &lt;FlatFileConnection
      FilePath="c:\ssisdata\so\input\so_36033443.txt"
      FileFormat="FFF_36033443"
      Name="FFSRC" /&gt;
  &lt;/Connections&gt;
  &lt;FileFormats&gt;
    &lt;FlatFileFormat 
      Name="FFF_36033443"
      IsUnicode="false"
      HeaderRowDelimiter=";"
      CodePage="1252"
      TextQualifer="&amp;quot;"
      &gt;
      &lt;Columns&gt;
        &lt;Column Name="Col0" DataType="AnsiString" Length="10" Delimiter=";"  CodePage="1252"/&gt;
        &lt;Column Name="Col1" DataType="AnsiString" Length="20" Delimiter=";"  CodePage="1252"/&gt;
        &lt;Column Name="Col2" DataType="AnsiString" Length="20" Delimiter="CRLF"  CodePage="1252"/&gt;
      &lt;/Columns&gt;
    &lt;/FlatFileFormat&gt;
  &lt;/FileFormats&gt;
  &lt;Packages&gt;
    &lt;Package Name="so_36033443"&gt;
      &lt;Tasks&gt;
        &lt;Dataflow Name="DFT Demo Delimiter"&gt;
          &lt;Transformations&gt;
            &lt;FlatFileSource 
              ConnectionName="FFSRC" 
              Name="FFSRC so_36033443" /&gt;
            &lt;DerivedColumns Name="DER Placeholder" /&gt;
          &lt;/Transformations&gt;
        &lt;/Dataflow&gt;
      &lt;/Tasks&gt;
    &lt;/Package&gt;
  &lt;/Packages&gt;
&lt;/Biml&gt;
</code></pre>