【Vegas原创】用虚拟表删除多条重复数据
select * into #tmp from trvperson
group by id,parentID,tableName,url,target,expanded
having count(id)>1
delete trvperson where id in(select id from #tmp)
insert into trvperson
select * from #tmp
drop table #tmp
group by id,parentID,tableName,url,target,expanded
having count(id)>1
delete trvperson where id in(select id from #tmp)
insert into trvperson
select * from #tmp
drop table #tmp
喜欢请赞赏一下啦^_^