存档

2010年10月 的存档

oracle关联update语句

2010年10月30日 亲亲宝宝 2 条评论 4,644 次阅读

Oracle两表关联执行update时,因为没有像SqlServer的update from,因此要麻烦一些,通常有以下四种方式: 第一种:更新的条件为两个表的查询关联 update customers  a       — 使用别名 set    customer_type=’01’ –01 为vip,00为普通 where  exists (select 1 from   tmp_cust_c...阅读全文

分类: 数据库 标签: