Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Posts
    67

    Unanswered: Top Functionality

    Does anyone know what is the Equivalent of Top in Oracle.

    SELECT TOP 2 from TableNAME --> SQL SERVER.

    What is the equivalent of this in Oracle

  2. #2
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    SELECT * FROM Table WHERE rownum < 3 ORDER BY Something


    Try here...it's been awhile for me

    http://www.dbforums.com/forumdisplay.php?forumid=4

    EDIT: Although you might want to take out the order by...

    I think the rids identify their relationships to each other using rowid...

    Man it's been a loooong time...
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  3. #3
    Join Date
    Jul 2003
    Location
    The Dark Planet
    Posts
    1,401
    Wrong forum Dude !!!
    Get yourself a copy of the The Holy Book

    order has no physical Brett in The meaning of a Kaiser . -database data

Posting Permissions

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