---
title: "两个表之间数据更新"
author: "salouhim"
date: "2012-06-06T10:32:14Z"
tags: []
categories: ["数据库"]
slug: "untitled"
draft: false
lastmod: "2012-06-05T18:12:38Z"
id: 1552325
url: "https://salouhim.iteye.com/blog/1552325"
---

update  bmp\_client t  set   t.firmcode=(  
select  c.licensecode  
          from [clt\_clt\_info@biz\_dblink.regress.rdbms.dev.us.oracle.com](mailto:clt_clt_info@biz_dblink.regress.rdbms.dev.us.oracle.com) c  where   t.client\_no=c.cltno

)