title: SQL Server 2014 Import and Export Wizard Cannot Ignore Errors, Truncation
body: <p>It seems that previous versions of SQL Server's Import / Export wizard would allow you to ignore errors or truncation issues. </p>
  
  <p>However, the 2014 version has no such option. I am trying to import a flat file of around 6 million records, and it choking around 400k records saying there is a truncation error. </p>
  
  <p>How can I do this in SQL Server 2014? </p>
  
  <p>HEre is the error report from the import attempt:</p>
  
  <p>Operation stopped...</p>
  
  <ul>
  <li><p>Initializing Data Flow Task (Success)</p></li>
  <li><p>Initializing Connections (Success)</p></li>
  <li><p>Setting SQL Command (Success)</p></li>
  <li><p>Setting Source Connection (Success)</p></li>
  <li><p>Setting Destination Connection (Success)</p></li>
  <li><p>Validating (Success)
  Messages
  Warning 0x80049304: Data Flow Task 1: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available.  To resolve, run this package as an administrator, or on the system's console.
  (SQL Server Import and Export Wizard)</p></li>
  <li><p>Saving (Success)</p></li>
  <li><p>Prepare for Execute (Success)</p></li>
  <li><p>Pre-execute (Success)
  Messages
  Information 0x402090dc: Data Flow Task 1: The processing of file "C:\temp\allvoters_take3\allvoters_take3.csv" has started.
  (SQL Server Import and Export Wizard)</p></li>
  <li><p>Executing (Success)</p></li>
  <li><p>Copying to [dbo].[vf] (Stopped)
  Messages
  Error 0xc02020a1: Data Flow Task 1: Data conversion failed. The data conversion for column "PrimaryAddress1" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
  (SQL Server Import and Export Wizard)</p></li>
  </ul>
  
  <p>Error 0xc020902a: Data Flow Task 1: The "Source - allvoters_take3_csv.Outputs[Flat File Source Output].Columns[PrimaryAddress1]" failed because truncation occurred, and the truncation row disposition on "Source - allvoters_take3_csv.Outputs[Flat File Source Output].Columns[PrimaryAddress1]" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
   (SQL Server Import and Export Wizard)</p>
  
  <p>Error 0xc0202092: Data Flow Task 1: An error occurred while processing file "C:\temp\allvoters_take3\allvoters_take3.csv" on data row 493508.
   (SQL Server Import and Export Wizard)</p>
  
  <p>Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on Source - allvoters_take3_csv returned error code 0xC0202092.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
   (SQL Server Import and Export Wizard)</p>
  
  <ul>
  <li>Post-execute (Success)
  Messages
  Information 0x402090dd: Data Flow Task 1: The processing of file "C:\temp\allvoters_take3\allvoters_take3.csv" has ended.
  (SQL Server Import and Export Wizard)</li>
  </ul>
  
  <p>Information 0x4004300b: Data Flow Task 1: "Destination - vf" wrote 489440 rows.
   (SQL Server Import and Export Wizard)</p>