sql语句怎样删除重复的记录 楼主参阅:http://expert.csdn.net/Expert/topic/2628/2628201.xml?temp=.8695642 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select distinct * into #t from 原表gotruncate table 原表goinsert into 原表 select * from #tgodrop table #t select distinct * into #temp from 表gotruncate table 表goinsert 表select * from #tempgodrop table #tempgo 关于数据文件的问题,请求解答! SQL Server 安装程序无法连接数据库服务进行服务器配置 请教触发器问题,第一次写,还不怎么懂 restore database pubs from disk 'd:\SQL-Server\MSSQL\BACKUP\1'这么写哪儿错了 ? SQL Server 2000数据恢复 求一个sql语句!!! group by显示count为0怎么解决 请教数据库视图问题…… 求教: 请问各位大虾数据库中锁机制如何实现的? 求救,一在FOXPRO FOR DOS中检测硬件序列号的函数,谢谢! 困惑多时的问题,总想不到比较好的解决方法?唯求高手! 请教处理重复记录
gotruncate table 原表
goinsert into 原表 select * from #t
godrop table #t
go
truncate table 表
go
insert 表
select * from #temp
go
drop table #temp
go