Home » SQL & PL/SQL » SQL & PL/SQL » loop
loop [message #37075] Wed, 16 January 2002 09:12 Go to next message
sara
Messages: 36
Registered: February 2000
Member
hi can any one give an example of loop within loop.
Re: loop [message #37078 is a reply to message #37075] Wed, 16 January 2002 10:30 Go to previous messageGo to next message
Jon
Messages: 483
Registered: May 2001
Senior Member
FOR i in 1..10 LOOP
FOR j in 10..15 LOOP
DBMS_OUTPUT.PUT_LINE(To_Char(i*j));
END LOOP;
END LOOP;
Re: loop [message #37092 is a reply to message #37075] Wed, 16 January 2002 21:31 Go to previous message
sara
Messages: 36
Registered: February 2000
Member
thanx jon.
Previous Topic: how to pass parameters dynamically
Next Topic: enable means?
Goto Forum:
  


Current Time: Tue Jul 14 12:48:54 CDT 2020