This Is A FineDay

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            93 隨筆 :: 0 文章 :: 69 評論 :: 0 Trackbacks
          ora sql 強行用某個索引
          select /*+index(t_customer idx_t_cust_area_name)*/????--強行利用t_customer的索引?idx_t_cust_area_name?進行查詢
          ???????? count(*)
          ????????? into v_count
          ????????? from t_customer
          ???????? where parent_cust_id = in_parent_cust_id
          ?????????? and type = 1
          ?????????? and customer_area_code = in_customer_area_code
          ?????????? and customer_name = in_customer_name;

          分析表
          analyze table T_INDUSTRY compute statistics;
          posted on 2007-05-18 17:17 Peter Pan 閱讀(258) 評論(0)  編輯  收藏 所屬分類: DB
          主站蜘蛛池模板: 吴堡县| 龙门县| 永川市| 西青区| 林芝县| 白河县| 陇南市| 青海省| 和平区| 双江| 朝阳区| 周至县| 平潭县| 武义县| 环江| 平南县| 科技| 资源县| 柏乡县| 绥宁县| 宽城| 新民市| 罗定市| 黔西县| 双鸭山市| 仁怀市| 本溪| 叶城县| 斗六市| 沧州市| 通辽市| 白山市| 云和县| 丰县| 杭锦旗| 札达县| 连州市| 武义县| 深水埗区| 遂宁市| 富阳市|