壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4233|回复: 3

Cannot derive parameters for overloaded stored procedure or function

[复制链接]
发表于 2006/9/26 08:41:38 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
Cannot derive parameters for overloaded stored procedure or function,
不知道側問題該如何處理???
希望大家幫忙.
发表于 2006/9/26 08:43:00 | 显示全部楼层
在下面找到了一点资料,并拷贝下来了
http://www.dotnet247.com/247reference/msgs/34/170829.aspx



Hi,

I get following message when I try to use DeriveParameters on an
OracleCommandBuilder:

'Cannot derive parameters for overloaded stored procedure or function.'

Anyone seen this? Any input on how to resolve this?

thanks,

Marc

----------------------------------------
racle supports overloading of PL/SQL stored functions and stored
procedures, much like C# and VB.NET support method overloading.

Trying to derive parameters for an overloades stored procedrure is like
asking reflection what the parameters to Integer.Parse, or
String.Format
are. They are overloaded, so they don't have just one set of parameters.

create or replace procedure foo(n number)
is
begin
null;
end;

and

create or replace procedure foo(v varchar2)
is
begin
null;
end;

For such a procedure, you obviously cannot derive the parameters.

David
--------------------------------------------------
David,

I understand what overloading is.

The problem is, the stored procedure is not overloaded at all!

Regards,

Marc
--------------------------------------------------
Ok, well then perhaps you could post code reproducing the problem.

David
--------------------------------------------------
David,

the problem seems to be related to the database version.

DeriveParameters works on 8.1.7, it does not work on 8.0.5. Is there a
minimum version
I need?

Thanks,

Marc
发表于 2006/9/26 10:32:05 | 显示全部楼层
学习~~
发表于 2006/9/26 10:44:58 | 显示全部楼层
學習中﹗
英語太爛了我
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 20:26 , Processed in 0.014577 second(s), 14 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表