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 -
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)
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)
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)
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.