读书人

sql2000用openrowset可以为查询出来的

发布时间: 2012-05-28 17:59:33 作者: rapoo

sql2000用openrowset可以为查询出来的excel数据加一个在excel表中第几行的信息吗
sql2000用openrowset可以为查询出来的excel数据加一个在excel表中第几行的信息吗,excel表中没有序号的列

[解决办法]

SQL code
select identity(int,1,1) rn,* into #tfrom openrowset...select * from #t 

读书人网 >SQL Server

热点推荐