请教,UPDATE 语句 upadate b..表 set s1=t.s1 from a..表 AS t1,b..表 as t2 where t1.id=t2.id 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update b set sl=a.sl from (select id,sl from A..a) a where b.id=a.id 用A库的a表中的所有记录的数量sl,更新B库的b表中的所有记录的数量sl看不是很明白~~ upadate b..表 set s1=t.s1 from a..表 AS t1,b..表 as t2 where t1.id=t2.id应该是:update b..表 set s1=t1.s1 from a..表 AS t1,b..表 as t2 where t1.id=t2.id upadate b..表 set s1=t.s1 from a..表 AS t1,b..表 as t2 where t1.id=t2.id sql2008r2 为什么有一个数据库中的表不能全文索引? 请问高手,把二进制的txt文件导入sql server 2005有哪几种方法? 求字符判断存储过程 请问这句SQL对吗? 求sql语句? 如何求一条记录中几个字段的sum值 ?sql 怎么写?再线 马上给分 关于SQL求救!SQL高高手过来 [请教] 关于聚合函数count()一问? SQL server数据库不能区分大小写怎么办?急!(最高可加到100) 请教一个简单的问题(如何把记录从空转化到0) !!请教,关于连接查询 一个关于统计报表的SQL语句
(select id,sl from A..a) a where b.id=a.id
应该是:
update b..表 set s1=t1.s1 from a..表 AS t1,b..表 as t2 where t1.id=t2.id