alter table t add id int identity(1,1)
go
delete from t where id in (select id from t where 空记录判断条件)
go
alter table t drop column id
go