可以用类似这样的:insert 新表的所有列
from 新表
select (select max(id) from 新表 ) + row_number() over(order by getdate()) , 旧表的列 
where 旧表