sql有两条一样的数据删除时提示出错? 你的表是否有什么约束、触发器等?另外可以尝试用delete语句。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 截图看看,有主键不?delete from 表 where 主键 in (xx,xx) delete from 表 where cUser_id='0013' and cuser_name='李晓艳' select distinct * into #t from tbgotruncate table tbgoinsert into tbselect * from #t select distinct * into #t from tbgroup by 所有字段gotruncate table tbgoinsert into tbselect * from #t然后给表设置一个主键 SQL中SELECT语句的各子句同时使用时的执行顺序 求满足表达式的SQL语句 sql server 2005 instead of 触发器 如何实现远端访问数据库(c/s架构) 怎么读Text类型的字段值啊 如何设计报表保存考勤信息 导出到excel后04变4,怎么解决 求一汇总SQL SQL 2005企業版無法安裝XP下 不能在事务内部执行过程'sp_adlinkedserver' 是怎么会事啊 求一个高效查询 MS sql中的update set where 语句是原子操作吗
delete from 表 where 主键 in (xx,xx)
go
truncate table tb
go
insert into tb
select * from #t
group by 所有字段
go
truncate table tb
go
insert into tb
select * from #t然后给表设置一个主键