oracledm数据库更新整列,update select列!

    xiaoxiao2025-06-07  44

    update table a set a.ziduan= (select b.ziduan from table b where b like '%123%' and a.id=b.id) 更新a表中的字段名称列,为b表查询出来字段,记住要对应的id,不然就会出现一对多的情况.更新失败
    转载请注明原文地址: https://ju.6miu.com/read-1299709.html
    最新回复(0)