today:
462
yesterday:
719
Total:
1,770,246

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;