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

Thread: Comand RowNum

  1. #1
    Join Date
    Jan 2001
    Posts
    2

    Question

    Helo

    I need to use the RowNum command in select thus RowNum>=10 and
    RowNum>=5

    I I obtain?

    Please me they help
    I´m from Brazil,

    I write and I read very badly English

  2. #2
    Join Date
    Jan 2001
    Posts
    318

    Lightbulb

    I don't get your question, but see if this is what you want.
    Select * from test
    where rownum>9.

    OR
    If you want the rows between 5 and 10 try this.
    Select * from test
    where rownum>9
    MINUS
    Select * from test
    where rownum>4

    Sonali
    Sonali

  3. #3
    Join Date
    Nov 2000
    Location
    Baltimore, MD USA
    Posts
    1,339
    I see someone else is proposing the MINUS solution for the 'sliding window' issue.

    Please read the "Resultset Paging & Performance increase using ROWNUM " thread in the Oracle Administration forum for a better solution (and a very good discussion of it all ;) )

    - Chris

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