sql2000用openrowset可以为查询出来的excel数据加一个在excel表中第几行的信息吗,该如何解决
sql2000用openrowset可以为查询出来的excel数据加一个在excel表中第几行的信息吗
sql2000用openrowset可以为查询出来的excel数据加一个在excel表中第几行的信息吗,excel表中没有序号的列
------解决方案--------------------
sql2000用openrowset可以为查询出来的excel数据加一个在excel表中第几行的信息吗,excel表中没有序号的列
------解决方案--------------------
- SQL code
select identity(int,1,1) rn,* into #t from openrowset... select * from #t