Page Break

  • i have a table with 10000 records:

    id int --

    content varchar

    how do i use t-sql to query like

    1st 20 records

    3rd 20 records

    9th 20 records....

  • Previous solution on this site was

    Select Top 20 *

    From (Select Top 60 * from Table)

    Order by Col1 Desc

    A sp with @From and @To parameter.

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

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