Oracle stored procedure error on select
问题 I am getting ORA-06550: line 2, column 1: PLS-00306: wrong number or types of arguments in call to 'GET_EMP_RS' ORA-06550: line 2, column 1: PL/SQL: Statement ignored Error while executing select command stored procedure in oracle. My Procedure is CREATE OR REPLACE PROCEDURE get_emp_rs (p_deptno IN emp.EMPNO%TYPE, p_recordset OUT SYS_REFCURSOR) AS BEGIN OPEN p_recordset FOR SELECT ENAME, JOB, MGR FROM emp WHERE EMPNO = p_deptno ORDER BY ENAME; END; / 回答1: You are not calling the procedure