【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
喜欢请赞赏一下啦^_^赞赏后请加wx:weyocul,相关文章提到的的安装包稍后给到哦!没有收到赞赏直接加我的,直接无视哈!

浙公网安备 33010602011771号