today:
181
yesterday:
483
Total:
1,793,786

Technology

LOOP & ROWNUM

admin 2020.10.04 19:20 Views : 74

DECLARE 

 ROWNUM NUMBER;

BEGIN

 FOR i IN 1..255

LOOP 

 UPDATE INVENTORY

 SET 

  BASE_QUANTITY = 1

WHERE i = ROWNUM;

END LOOP;

END;