读书人

取得数据集后,怎么读取指定某一行

发布时间: 2012-01-18 00:23:26 作者: rapoo

取得数据集后,如何读取指定某一行?
在取得数据集后,有多行记录,没有任何索引,
如何才能取出我指定想要的一行?

[解决办法]
select id=identity(int,1,1),* into # from 表
select * from # where id=2
drop table #

读书人网 >SQL Server

热点推荐