help using the TOP command in sql

  • I need to retrieve row number 3 and 4 in database with 5 rows for an example I am working on. The TOP command examples I have been getting only give me an option for selecting from the top rows but never a given row like the LIMIT 2,2 in Mysql where I can select from where I want to start. Can anyone help with how I can modify the TOP statement to give me values from certain rows.

  • Duplicate post. No replies to this thread please. Direct replies to:http://qa.sqlservercentral.com/Forums/Topic769125-1291-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply