Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

sql query to list 1..25 numbers.

9571Jul 22 2002
Hi all,
How could I write a query (not pl/sql) to generate a series fo numbers.
Don't take any dependent tables, meant if i have a table with more than 100 rows then by writing "select rownum from mytable where rownum<101; will gives the results what i required.
But I am looking for a query which is indipendet of other tables , ofcourse you can use DUAL or any standard functions.

Thanks in advance,
Khaleel.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2002
Added on Jul 22 2002
4 comments
560 views