Home » SQL & PL/SQL » SQL & PL/SQL » How to display sequence of numbers using select statment
How to display sequence of numbers using select statment [message #8977] Wed, 08 October 2003 13:31 Go to next message
pavan
Messages: 10
Registered: October 2001
Junior Member
Hi,
I need to display 0 to 20 numbers in the form LOV. how can i write the select statment to display the numbers in lov.

bye
Re: How to display sequence of numbers using select statment [message #8981 is a reply to message #8977] Wed, 08 October 2003 13:42 Go to previous message
Todd Barry
Messages: 4819
Registered: August 2001
Senior Member
sql>select rownum rn from all_objects where rownum <= 5;  -- adjust number as necessary
 
       RN
---------
        1
        2
        3
        4
        5
 
5 rows selected.
Previous Topic: trigger help
Next Topic: How to call a script with a param issued of a FOR LOOP inside a PL/SQL
Goto Forum:
  


Current Time: Thu May 09 10:46:48 CDT 2024