sql server 2005+ 翻页

select * from 
( 
 select row_number() over (order by dm) row,* from t_zycp where dm like '%4%' 
) tmp where row between 1 and 10 

 

posted @ 2013-12-02 15:52  李小加  阅读(156)  评论(0编辑  收藏  举报