1
I’m getting the following error message when running this trial
*Encontrado simbolo "end of file" quando era esperado:*
DECLARE
-- LOCAL VARIABLES HERE
I INTEGER;
BEGIN
FOR NCM IN (SELECT * FROM NCM_NCM) LOOP
UPDATE ADMPRODU A
SET A.CCNCMPRODU = NCM.NCM_NOVO
WHERE A.CCNCMPRODU = NCM.NCM_VELHO
END LOOP
END;