Sql 实现自动添加行数标记
select IDENTITY(int,1,1) as NameID,* into #t from MissionAssignView
select * from #t order by NameID
drop table #t
select IDENTITY(int,1,1) as NameID,* into #t from MissionAssignView
select * from #t order by NameID
drop table #t