Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update a row in oracle using OLEDB command(SSIS)

I am trying to update some rows in an oracle Database, using an OLEDB Command
but whenever i try specifying the Sql Command this is what i get

An OLEDB record is available. Source: "OraOLEDB" Hresult:0x80040E51 Description:
"Provider cannot derive parameter information and
 SetParameterInfo has not been called."

I have tried using

"Native OLE DB\Oracle Provider for OLE DB" provider

and i tried changing to

"Native OLE DB\Microsoft OLE BD Provider for Oracle" provider

but i get the same error, please help, I am using ssis 2008

Here is the setup : The Connection Manager is as below
enter image description here

When i test it, it succeeds

enter image description here



Now when i come to configuring the OLEDBCommand., I pass in the Connenction Manager
enter image description here

specify the command
enter image description here

now when i move to configure the parameters, nothing is displayed and i receive this error
enter image description here

thanks for the help

like image 435
Brian Paul Avatar asked Mar 02 '11 14:03

Brian Paul


People also ask

What is the use of OLE DB command in SSIS?

The OLE DB Command transformation runs an SQL statement for each row in a data flow. For example, you can run an SQL statement that inserts, updates, or deletes rows in a database table.

How do I update my OLE DB?

Drag and drop the Data Flow Task from the toolbox to the control flow region and rename it as Update Data using OLEDB Command Transformation in SSIS. Double click on it, and it will open the data flow tab. Next, Drag and drop OLE DB Source and OLE DB Command transformation from the toolbox to data flow region.


1 Answers

Under Input and Output Properties you need to add the column names under OLE DB Command Input > External columns, they will then appear in the column mappings page.

like image 167
xefere Avatar answered Oct 17 '22 15:10

xefere