会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Alpha's Blog
Alpha的技术博客@Cnblogs
博客园
首页
新随笔
联系
订阅
管理
2006年5月16日
四种方法取表里n到m条纪录:[转]
摘要: 1.select top m * into 临时表(或表变量) from tablename order by columnname -- 将top m笔插入set rowcount nselect * from 表变量 order by columnname desc2.select top n * from (select top m * from tablename order by col...
阅读全文
posted @ 2006-05-16 20:34 AlphaWu
阅读(199)
评论(0)
推荐(0)
编辑
公告