请教,用Select语句将一个表中的数据插入到另一个完全相同结构的表中,出现问题...!!!! set identity_insert oninsert table1 select * from table2 where id > 1000set identity_insert off 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 set identity_insert table1 oninsert table1 select * from table2 where id > 1000set identity_insert table1 off 如果要重新自动编号:insert table1(除自增列之外的其它列)select 同上from table2 where id > 1000 set identity_insert oninsert table1 select * from table2 where id > 1000set identity_insert off 关于【默认值或绑定】那里的((0)) 求一SQL语句 请教一次性验证多个值是否在范围内 双表联系 请问 在Sql中使用正则表达式?? 怎样写一条union查询语句 请教VB6.0 VC++6.0 SQL SERVER 2000 OFFICE2003 VS2008的安装顺序。 求救各位大狭,很复杂的存储过程. 请问这样的SQL语句如何写?(内附例子) Create脚本生成问题 问一下关于两个表关联以后的速率问题 insert 语句出错,各位帮帮忙,急死了,在线等。
insert table1 select * from table2 where id > 1000
set identity_insert table1 off
insert table1(除自增列之外的其它列)
select 同上
from table2 where id > 1000
insert table1 select * from table2 where id > 1000
set identity_insert off