从相当大的SQL Server
表中删除重复行的最佳方法是什么(即300,000多行)?
当然,由于RowID
身份字段的存在,行不会是完美的重复.
MyTable的
RowID int not null identity(1,1) primary key,
Col1 varchar(20) not null,
Col2 varchar(2048) not null,
Col3 tinyint not null
Run Code Online (Sandbox Code Playgroud)