就是找第98行了:
如果有ID:
select top 1 * from t1 where id not in (select top 97 id from t1)
如果没有ID:
select top 98 *,identity(int,1,1) into #temp from t1
select top 1 * from #temp order by id desc
drop table #temp 
也可借用其它有序的field

解决方案 »

  1.   

    select top 98 * from tablename order by (有索引的列) desc
    那第一条就是你要的纪录。
      

  2.   

    我真的很奇怪,为什么这样的问题总不说明有没有primary key /unique,是按什么字段来判断行号?select top 1 * from 
    (select top 98 * from yourtable order by somefield) t1
    order by somefield desc
      

  3.   

    在sql server中,记录的物理顺序是没必要知道的
    你不说是用什么索引的话序号就只有物理顺序
    这个是无法实现的!!去看看关系数据库的书吧!