文章搜索: 分类 关键字

   您的位置:首页数据库MySql → SQL Server中查询时显示行号的方法
SQL Server中查询时显示行号的方法
日期:2007-3-17 20:24:52 人气:     [ ]
Select no=Identity(int,1,1),* Into #temptable From TableName --Order By SortField
Select * From #temptable  --Where no>=6 And no < 10
Drop Table #temptable
出处:CnCode转载收集 作者:不详
<---->
 
| 关于本站 | 帮助(?) | 广告服务 | 版权声明 | 业务合作 | 发展历程 | 加盟我们 | 联系我们 | 中国源码中心 ≮为您提供建站帮助≯

  中国源码中心 版权所有 Copyright© 2002-2006 Www.CnCode.Com, All Rights Reserved. Powered By 中国源码中心