today:
626
yesterday:
719
Total:
1,770,410

Technology

LOOP & ROWNUM

admin 2020.10.04 19:20 Views : 70

DECLARE 

 ROWNUM NUMBER;

BEGIN

 FOR i IN 1..255

LOOP 

 UPDATE INVENTORY

 SET 

  BASE_QUANTITY = 1

WHERE i = ROWNUM;

END LOOP;

END;