Help for this page

Select Code to Download


  1. or download this
    set rowcount $last_row
    select tb.pk, id=identity(10) into #tmp
    ...
         , #tmp t
     where tb.pk = t.pk
       and t.id between $first_row and $last_row