Here is my code i got it from Oracle PL/SQL Prog. Book. i am getting the error when i am trying to execute the stored procedure.
I would like to know what is the error in this sp.
================================================================
CREATE OR REPLACE PROCEDURE sp_clear_Q(p_QueueName IN VARCHAR2)
AS
v_error_num number;
v_message concerned;
-- Commit all dequeue.
COMMIT;
END;
===================================================
=====================================================
SQL> execute sp_clear_q('');
BEGIN sp_clear_q(''); END;
*
ERROR at line 1:
ORA-21000: error number argument to raise_application_error of -600 is out of
range
ORA-06512: at "SYNCMIN.SP_CLEAR_Q", line 46
ORA-06512: at line 1
====================================================
Thanks.
Bookmarks