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 閱讀(264) 評論(0)  編輯  收藏 所屬分類: DB
          主站蜘蛛池模板: 嘉鱼县| 沙田区| 乌恰县| 岱山县| 南京市| 双柏县| 平湖市| 海口市| 明星| 石家庄市| 青阳县| 新昌县| 江源县| 赣榆县| 高碑店市| 桃江县| 海阳市| 高唐县| 聊城市| 玉屏| 敦煌市| 栾川县| 台中县| 合水县| 仙游县| 宣汉县| 庄河市| 麟游县| 辉南县| 平定县| 大方县| 肇庆市| 新闻| 满洲里市| 桂阳县| 固始县| 富民县| 凤冈县| 浪卡子县| 贡嘎县| 板桥市|