Sql2005分页选择

select OID ,Pos from
(
select OID, ROW_NUMBER() OVER (order by OID) as Pos from directoryRights
) as T
where T.Pos > 1 and T.Pos < 10 

你可能感兴趣的:(Sql2005分页选择)