today:
413
yesterday:
400
Total:
1,744,763

Technology

LOOP & ROWNUM

admin 2020.10.04 19:20 Views : 60

DECLARE 

 ROWNUM NUMBER;

BEGIN

 FOR i IN 1..255

LOOP 

 UPDATE INVENTORY

 SET 

  BASE_QUANTITY = 1

WHERE i = ROWNUM;

END LOOP;

END;