CREATE OR REPLACE PROCEDURE SPTEST(USERID IN VARCHAR2,RTN OUT VARCHAR2) IS n NUMBER; BEGIN n:=4/0; RTN:= 'OK'; EXCEPTION WHEN OTHERS THEN RTN:= SQLERRM; END SPTEST;
沒有留言:
張貼留言