Update from Sync Service
This commit is contained in:
13
数据库知识库/工具脚本/去重.md
Executable file
13
数据库知识库/工具脚本/去重.md
Executable file
@@ -0,0 +1,13 @@
|
||||
begin tran
|
||||
|
||||
select distinct * into #temp from DataSyncStationSX
|
||||
delete DataSyncStationSX
|
||||
go
|
||||
insert DataSyncStationSX select * from #temp Sqlclub
|
||||
go
|
||||
drop table #temp
|
||||
|
||||
select * from DataSyncStationSX
|
||||
order by sid
|
||||
|
||||
commit
|
||||
Reference in New Issue
Block a user