ORA-06550: line 1, column 7: PLS-00201: identifier 'PAYMENT_UPDATE' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored
问题 I have a procedure to insert values into one table and update rows of another table. The procedure compiled without any errors. If I manually call it within PL/SQL codes, the tables are updated. CREATE OR REPLACE PROCEDURE payment_update (bId IN number, pType IN varchar2, pAmt IN number ) AS BEGIN INSERT INTO payment VALUES (PID_SEQ.NEXTVAL, bId, pType, (SELECT CURRENT_DATE FROM DUAL), pAmt); UPDATE booking SET payment_status = 'FP', paid = pAmt WHERE booking_id = bId; END; / I am trying to