Can anyone please tell me why the following procedure does not work?
I have tried everything, and it just wont work, compilation messages in the past have stated that it requires an 'INTO' clause, but adding this makes no difference and only produces another compilation error. PLEASE HELP?????????
CREATE OR REPLACE PROCEDURE GenNewActionKeys
AS
inewKey number;
BEGIN
inewKey:= max NVL(actionkey,0)+1 from dcactkey;
END;
I have tried everything, and it just wont work, compilation messages in the past have stated that it requires an 'INTO' clause, but adding this makes no difference and only produces another compilation error. PLEASE HELP?????????
CREATE OR REPLACE PROCEDURE GenNewActionKeys
AS
inewKey number;
BEGIN
inewKey:= max NVL(actionkey,0)+1 from dcactkey;
END;