首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

这两个更新语句错在哪里,该如何处理

2012-01-30 
这两个更新语句错在哪里updatearticle,Communication_Networksetsource[size]wherearticle.t10Communica

这两个更新语句错在哪里
update   article,Communication_Network   set   source=[size]   where   article.t10=Communication_Network.[file]   and   classid=217
第   1   行:   ', '   附近有语法错误。


update   article   set   source=[size]   inner   join   Communication_Network   on   article.t10=Communication_Network.[file]   where   classid=217
在关键字   'inner '   附近有语法错误。

[解决办法]
update article set source=[size] from Communication_Network where article.t10=Communication_Network.[file] and classid=217
[解决办法]
第二个
update article set source=[size] from article inner join Communication_Network on article.t10=Communication_Network.[file] where classid=217

热点排行