执行此过程时,我收到这样的错误。如何在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;
/
答案 0 :(得分:0)
您发送的参数少于或多于过程,或者您向过程发送了错误的类型参数