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
          主站蜘蛛池模板: 麻栗坡县| 阿克陶县| 巨野县| 若羌县| 湖南省| 泰州市| 威海市| 崇仁县| 闽侯县| 潜山县| 鄱阳县| 河北区| 黄大仙区| 同仁县| 钟祥市| 泽普县| 高密市| 凤庆县| 常熟市| 琼结县| 石景山区| 柳江县| 密云县| 大洼县| 松滋市| 沙坪坝区| 旅游| 临城县| 岢岚县| 阿城市| 卢湾区| 突泉县| 陈巴尔虎旗| 马公市| 金阳县| 阳信县| 永年县| 大理市| 商丘市| 彭水| 大邑县|