使用 OLEDB 命令(SSIS)更新 oracle 中的一行
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5168772/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Update a row in oracle using OLEDB command(SSIS)
提问by Brian Paul
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
我正在尝试使用 OLEDB 命令更新 oracle 数据库中的某些行,
但是每当我尝试指定 Sql 命令时,这就是我得到的
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
“用于 OLE DB 的本机 OLE DB\Oracle 提供程序”提供程序
and i tried changing to
我试着改成
"Native OLE DB\Microsoft OLE BD Provider for Oracle" provider
“Native OLE DB\Microsoft OLE BD Provider for Oracle”提供程序
but i get the same error, please help, I am using ssis 2008
但我遇到了同样的错误,请帮忙,我正在使用 ssis 2008
Here is the setup : The Connection Manager is as below
When i test it, it succeeds
这是设置:连接管理器如下
当我测试它时,它成功了
Now when i come to configuring the OLEDBCommand., I pass in the Connenction Manager
specify the command
now when i move to configure the parameters, nothing is displayed and i receive this error
thanks for the help
现在,当我开始配置 OLEDBCommand 时,当我开始配置参数时,我现在通过连接管理器
指定命令
,没有显示任何内容,我收到此错误,
感谢您的帮助
回答by xefere
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.
在输入和输出属性下,您需要在 OLE DB 命令输入 > 外部列下添加列名称,然后它们将出现在列映射页面中。