请大家帮小弟解决一下难题!!!! 可以先把数据导到一个临时表然后用update语句关联更新 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1.将excel表以同样的格式导入sql,表名为table22.update table1 set table1.fld1=b.fld1,table1,fld2=b.fld2... from table2 b where table1.id=b.id3.insert into table1(fld1,fld2...) select fld1,fld2... from table2 where id not int (select id from table1) 如何创建字段说明信息? 统计每天 提取数字连续区间用来合并 请教前辈,如何调试触发器代码. 数据库登陆问题???请朋友进来班一下???、、 sqlserver2000中删除行的问题 通过代理服务器访问外网SQLSERVER的问题。 VFP的帮助文件的问题 如何在select语句中select出text类型的数据?急问!!!!!!!!! 急!!!如何用一条Sql语句给两个表插入数据 看看这样的效果大家怎样实现的! asp调用存储过程时出的错误,谁能帮我解决一下啊?
2.update table1 set table1.fld1=b.fld1,table1,fld2=b.fld2... from table2 b where table1.id=b.id
3.insert into table1(fld1,fld2...) select fld1,fld2... from table2 where id not int (select id from table1)