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

多表连接update字段有关问题

2012-02-23 
多表连接update字段问题sql server2005udpate a set a.devsnb.spec_val from tmp_dev a,tmp_devext b whe

多表连接update字段问题
sql server2005

udpate a set a.devsn=b.spec_val from tmp_dev a,tmp_devext b where b.devcode=a.devcode and b.item_spec_id='877064'

'.' 附近有语法错误。

[解决办法]
update a set a.devsn=b.spec_val from tmp_dev a,tmp_devext b 
where b.devcode=a.devcode and b.item_spec_id='877064'

[解决办法]

SQL code
update a set devsn=b.spec_val from tmp_dev a,tmp_devext b where b.devcode=a.devcode and b.item_spec_id='877064' 

热点排行