千家信息网

oracle 批量修改 多个字段

发表于:2024-10-19 作者:千家信息网编辑
千家信息网最后更新 2024年10月19日,update mydemontest tset (a20121, b20121, c20121, d20121, e20121)=(selectpower_num,amount,get_amount,
千家信息网最后更新 2024年10月19日oracle 批量修改 多个字段

update mydemontest t

set (a20121, b20121, c20121, d20121, e20121)

=

(selectpower_num,amount,get_amount,nopay_amount,power_price

from v2012_cost_monthpower p

where pay_year = '2012'and pay_month = '1'and t.ppt_code = p.ppt_code)


0