
这个查询返回几个结果
set a."DISPLAY_ORDER"= value 这个只能是一个值,而你等于后面查询结果可能是多个值
报的错误就是这个意思
update A a set a.dui_status=( select b.dui_status from B b where b.dui_date=a.dui_date and b.acct_no=a.acct_no )where a.dui_status= 条件 and 其它限制条件.
这样就只改自己想改的东西,你上面写的是改所有,肯定有没有匹配的记录,注意你不是改所有。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)