首页 > 数据库技术 > 详细

oracle表关联update和表建立索引

时间:2016-09-27 23:18:25      阅读:314      评论:0      收藏:0      [点我收藏+]
  1. update A a set a.A2 = (select b.B2 from B b where b.B1=a.A1) where   
  2. exists (select 1 from B where B.B1=a.A1)  

 -- Create/Recreate indexes 
create index t_source_phase_01 on t_source_phase (lineid)
  tablespace COMMON_CABLE
  pctfree 10
  initrans 2
  maxtrans 255
  storage
  (
    initial 64K
    next 1M
    minextents 1
    maxextents unlimited
  );

oracle表关联update和表建立索引

原文:http://www.cnblogs.com/yi-wuxia/p/5914581.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!