RSS
热门关键字:  性福人生  生化危机  虚拟人生  o ice  秘密潜入1

SQL Server中查询时显示行号的方法

来源: 作者:无忧d下载站采集 时间:2008-04-04 Tag: 点击:
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

最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册