title: The value violated the integrity constraints for the column
body: <p>I am trying to import the data from Excel file into SQL Server database. I am unable to do so because I am getting following errors in the log file. Please help. The log erros are as as follows:-</p>
  <blockquote>
  <p>[OLE DB Destination [42]] Error: An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available.  Source: &quot;Microsoft SQL Native Client&quot;  Hresult: 0x80040E21  Description: &quot;Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.&quot;.</p>
  <p>[OLE DB Destination [42]] Error: There was an error with input column &quot;Copy of F2&quot; (5164) on input &quot;OLE DB Destination Input&quot; (55). The column status returned was: &quot;The value violated the integrity constraints for the column.&quot;.</p>
  <p>[OLE DB Destination [42]] Error: The &quot;input &quot;OLE DB Destination Input&quot; (55)&quot; failed because error code 0xC020907D occurred, and the error row disposition on &quot;input &quot;OLE DB Destination Input&quot; (55)&quot; specifies failure on error. An error occurred on the specified object of the specified component.</p>
  <p>[DTS.Pipeline] Error: The ProcessInput method on component &quot;OLE DB Destination&quot; (42) failed with error code 0xC0209029. The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.</p>
  <p>[DTS.Pipeline] Error: Thread &quot;WorkThread0&quot; has exited with error code 0xC0209029.</p>
  <p>[Excel Source [174]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.</p>
  <p>[DTS.Pipeline] Error: The PrimeOutput method on component &quot;Excel Source&quot; (174) returned error code 0xC02020C4.  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.</p>
  </blockquote>