首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

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

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

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

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

热点排行