AUTHID clause in a CREATE PROCEDURE statement indicates that this procedure is being created with user's or invoker's rights
CREATE OR REPLACE PROCEDURE delete_emp (p_emp_id number) AUTHID current_user IS BEGIN DELETE FROM emp WHERE emp_id = p_emp_id; COMMIT; END; --