一個簡單的問題.急呀! select distinct * into #temp from 表truncate table 表insert 表 select * from #tempdrop table #temp 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 或:alter table 表 add newfield int identity(1,1)delete 表where newfield not in( select min(newfield) from 表 group by 除newfield外的所有字段 )alter table 表 drop column newfield SQL企业管理器中部分数据库不见了 SQL判断字段的值是否为整数? jsp做统计 请问在SQL里操作一个表时,怎么锁定这个表,别的操作又如何获得这个信息? 请高手进,求一个算法,在线等待 数据库添加失败,这个是什么意思 求,时间转换的SQL,急~ 疑难杂症_难死一般菜鸟!大虾快来拿分!不胜感激涕零! oracle数据库重构(主机名发生变化) 能否自定义主索引出错信息 键列信息不足或不正确。影响更多行——错误 能否得到如下的记录集
where newfield not in(
select min(newfield) from 表 group by 除newfield外的所有字段
)alter table 表 drop column newfield