Update a row in oracle using OLEDB command(SSIS)
Asked Answered
T

1

6

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

Troostite answered 2/3, 2011 at 14:23 Comment(2)
Could you post the source code where you are making the connection and trying to perform the update with the command object?Vicenary
@Dougman I added the screenshots of how i receive the error, please check aboveTroostite
R
12

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.

Ridge answered 11/3, 2011 at 6:31 Comment(1)
Very late to the party here, but I just discovered that spaces in the parameter name are allowed in SSIS (and even defaulted with Column 1, etc.), but are not recognized by the Oracle provider.Interrex

© 2022 - 2024 — McMap. All rights reserved.