Can't import excel file to Microsoft SQL Server Management Studio

0

I am trying to upload my excel file to my sql but getting those message -

  1. Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80004005 Description: "Unspecified error". (SQL Server Import and Export Wizard)
  2. Error 0xc020901c: Data Flow Task There was an error with Destination - TRANSAC.Inputs[Destination Input].Columns[F6] on Destination - TRANSAC.Inputs[Destination Input]. The column status returned was: "The value violated the integrity constraints for the column.". (SQL Server Import and Export Wizard)
  3. Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Destination - TRANSAC.Inputs[Destination Input]" failed because error code 0xC020907D occurred, and the error row disposition on "Destination - TRANSAC.Inputs[Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure. (SQL Server Import and Export Wizard)
    Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Destination - TRANSAC" (32) failed with error code 0xC0209029 while processing input "Destination Input" (45). 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. There may be error messages posted before this with more information about the failure. (SQL Server Import and Export Wizard)
sql-server
asked on Stack Overflow Nov 25, 2020 by Sayma Kabir • edited Nov 25, 2020 by Larnu

1 Answer

0

You can convert the Excel file to a CSV file and bulk import the data. Also, you can save the data as a text file and do the same. Or, use VBA in Excel to push the data to SQL Server. There are other ways to get data from various sources to SQL Server.

answered on Stack Overflow Feb 12, 2021 by ASH

User contributions licensed under CC BY-SA 3.0