update 语句问题 我新手,请问了小SQL语句问题A表和B表结构相同, A表数据量大,B表数据量小, B的数据在A中全都可以找到,A和B通过ID相关联现在B表中name字段内容都是空,A表中都不是空, 我想写个update语句, 把B表中的name字段的内容都更新为A表中的name字段的内容 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update aset name = b.name from a , bwhere a.id = b.id update b set name=a.namefrom a where a.id=b.id update b set name=a.name from a where a.id=b.id update b set [name]=a.namefrom a where a.id=b.id update b set name=a.namefrom a,b where a.id=b.id update aset name = b.name from a , bwhere a.id = b.id UPDATE aSET a.name = b.name FROM a,bWHERE a.id = b.id 就是普通的UPDATE。。楼主有什么问题么? asp中不支持 insert into 吗? 我在sql查询中执行正常 行列转化中的问题? 批量数据的插入更新 这个sql语句有什么问题啊?急 sql server2000 能不能做自动还原的操作 求 Trigger优化 关于 INSERT 的问题 [字段太多问题] 主、从表的更新问题 学习数据库就是学sql语句、视图、存储过程、触发器、游标么,我觉得好象还是没有掌握数据库的精髄,是不是还有什么很重要的内容没学啊。 请问SQL2005维护计划怎么复制到别的电脑 为什么在URL地址栏上可以写SQL代码? 怎样将上市公司Excel财务报表到入SQL数据库
set name = b.name
from a , b
where a.id = b.id
from a where a.id=b.id
from a
where a.id=b.id
update b set name=a.name
from a,b where a.id=b.id
set name = b.name
from a , b
where a.id = b.id
SET a.name = b.name
FROM a,b
WHERE a.id = b.id
楼主有什么问题么?