★搜Asp.net★(www.soAsp.net),为专业技术文档网站。
包括Asp.net开发技术文档·C#开发技术文档·Access/SQL Server数据库开发技术文档·VB.NET开发技术文档。
还包括·项目实战经验总结·开发经验技巧总结·项目开发心得。


  
SQL Server中查询时如何显示行号

 

SQL Server中查询时如何显示行号

 

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