Posts by Willian Andrade • 11 points
1 post
-
1
votes0
answers28
viewsQ: Procedure does not run its loop and not from the syntax error
The PROCEDURE below does not present syntax error, but when running LOOP it does not update the records correctly, only a few are updated. CREATE PROCEDURE `SP_ATU_ITEM_NF` () BEGIN DECLARE…