DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Limit on # of return?

  1. #1
    Join Date
    Nov 2000
    Posts
    164
    I try to select query that will limit the number or records returned, such as 10, how do I make such query? Thanks!


  2. #2
    Join Date
    Aug 2000
    Posts
    462
    select * from mytable where rownum < 10;

    will return 9 rows.

    What are you trying to do?

  3. #3
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    select * from yyy
    where rownum < 11

    may this is what yuneed...?

  4. #4
    Join Date
    Nov 2000
    Posts
    164
    thx, they work!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width