ITeye博客

ORACLE A表根据B表字段更新

p_3er · 2014-04-16 10:15 · Markdown

update product_info t set (t.salename,t.xsqy)=(select c.salename,c.xsqy from contract_erp c where c.contractcode=t.contractid)
where t.contractid in(select c.contractcode from contract_erp c) and t.contractid is not null and t.salename is null;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。