I have this procedure where I want to add 1 to the "CONSECUTIVE" numeric field but it gives me an error how could I do it?
The error says: Syntax error, a NAME or EXPR was expected
create or replace PROCEDURE get_secuencia(consec OUT NUMBER)
AS
BEGIN
consec:= UPDATE EQUIVALENTES_CONSECUTIVO SET CONSECUTIVO = CONSECUTIVO + 1;
END;