posts - 431,  comments - 344,  trackbacks - 0
          用pl/sql查詢時,出現以下錯誤:

          dynamic performance tables not accessible,
          automatic statistics disabled for this session

          you can disable statistics in the preference menu,or obtain select
          priviliges on the V$session,v$sesstat and v$statname tables
          可是已經把系統權限 select any table 給這個用戶了

          解決方法如下:

          grant SELECT ANY DICTIONARY to username;

          因為v$開頭的屬于數據字典,通常稱為動態性能視圖。

          posted on 2010-03-25 09:03 周銳 閱讀(1271) 評論(0)  編輯  收藏 所屬分類: Oracle
          主站蜘蛛池模板: 同心县| 怀安县| 诸城市| 东宁县| 乃东县| 康定县| 平果县| 阿克苏市| 江口县| 确山县| 玉溪市| 广平县| 惠来县| 老河口市| 营山县| 远安县| 绵阳市| 永平县| 崇左市| 嘉兴市| 清水河县| 呼玛县| 刚察县| 桂林市| 凤台县| 红桥区| 株洲市| 稷山县| 纳雍县| 清苑县| 眉山市| 宁晋县| 莱西市| 阿坝| 汪清县| 田林县| 岗巴县| 平安县| 温泉县| 高碑店市| 公主岭市|