【发布时间】:2015-05-02 13:54:20
【问题描述】:
在执行此过程时,我收到这样的错误。如何在 oracle 11g 中执行此操作?
ORA-06550: line 2, column 1:
PLS-00306: wrong number or types of arguments in call to 'SP_SELECT_CUSTOMER'
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
我的程序是
CREATE OR REPLACE PROCEDURE SP_SELECT_CUSTOMER (
p_cust_details OUT SYS_REFCURSOR)
IS
BEGIN
OPEN p_cust_details for SELECT Name, Address, Contact FROM customer;
END;
/
【问题讨论】:
-
向我们展示 java 方面...
-
你是如何执行你的程序的?可以发帖吗?
-
@Lalit Kumar B,我再次收到错误消息。我也检查了你的代码。它显示相同的错误。
-
@antonio,我正在像这样执行开始 SP_SELECT_CUSTOMER;结束;
标签: java asp.net oracle stored-procedures oracle11g