Hello,
I am using BIDS (SQL Server 2008 R2).
My source is SharePoint List (downloaded SharePoint List Adopters), and the destination is SQL Server database, for that i have taken OLE DB Data Flow Destination, at the "Data Access Mode" dropdown, i did choose "SQL command", and pasted the below SQL query,
SELECT [ProjectName] ,[EskomContractor] ,[BenefitsEskom] 'Benefits' FROM [AdventureWorks].[dbo].[UnionAllTest1] UNION ALL SELECT [ProjectName] ,[EskomContractor] ,[BenefitsContractor] FROM [AdventureWorks].[dbo].[UnionAllTest1]
There is no errors in the query, when i clicked on "Mapping", it is throwing an error, the error message is in the below
TITLE: Microsoft Visual Studio ------------------------------ Error at Data Flow Task [OLE DB Destination [1040]]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". ------------------------------ ADDITIONAL INFORMATION: Exception from HRESULT: 0xC0202009 (Microsoft.SqlServer.DTSPipelineWrap) ------------------------------ BUTTONS: OK ------------------------------
Could please provide me solution, thank you.
Kind Regards