在執行此過程時,我得到這樣的錯誤。如何在oracle 11g中執行此操作?Oracle中的存儲過程錯誤
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的一面。 .. – 2015-03-02 09:08:40
你是如何執行你的程序?你可以發佈該行嗎? – antonio 2015-03-02 09:09:22
[選擇Oracle存儲過程錯誤]的完全重複(http://stackoverflow.com/questions/28803316/oracle-stored-procedure-error-on-select) – 2015-03-02 09:10:46