sql2000用openrowset可以为查询出来的excel数据加一个在excel表中第几行的信息吗sql2000用openrowset可以为查询出来的excel数据加一个在excel表中第几行的信息吗,excel表中没有序号的列[解决办法]
select identity(int,1,1) rn,* into #tfrom openrowset...select * from #t