HELLO I'm student and I'm new with oracle I trying somethings but have a problem with this procedure and I didnt find the where is it.I hope you can help me Thank you in advance..
error msg : [Error] Execution (23: 7): ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'URUNNOGEN' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
create or replace procedure ariciaykut.URUNNOGEN
(KATA in NVARCHAR2,MARK in NVARCHAR2,URNO out NVARCHAR2)as
K NVARCHAR2(3);
M NVARCHAR2(3);
U NUMBER;
BEGIN
K:=KATA;
M:=MARK;
U:=0;
FOR U IN 1..999 LOOP
IF U BETWEEN '-1'AND'10' THEN
URNO:=K||'00'||U||M;
ELSIF U BETWEEN '9'AND'99' THEN
URNO:=K||'0'||U||M;
ELSE
URNO:=K||U||M;
INSERT INTO ARICIAYKUT.PROGOSTER VALUES(URNO);
END IF;
END LOOP;
END;
calling line:
EXEC ARICIAYKUT.URUNNOGEN('ICK','COC');