Error: PLS-00201: identifier 'DBMS_AQ'must be declared
有一套oracle資料庫需要從原來的單節點遷移到一套rac上,資料量不大,於是採用的資料泵完成,可是最後發現有個觸發器報錯,如下:
Compilation errors for TRIGGER MCRM.TRG_JIFENZS_EMSTATUS_Q
Error: PLS-00201: identifier 'DBMS_AQ' must be declared
Line: 10
Text: queue_options DBMS_AQ.enqueue_options_t;
原因:原來把mcrm這個使用者恢復出來之後,許可權並沒有也過來,需要從新付權,
解決:
[oracle@ora101 ~]$ sqlplus / as sysdba
SQL> GRANT EXECUTE ON SYS.DBMS_AQ to mcrm;
Grant succeeded.
需要注意的是 dba許可權也不包含EXECUTE SYS.DBMS_AQ的許可權;
此外這個授權system使用者是沒有許可權的,要sys 或者plsql / as dba登入才有許可權授權。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29654823/viewspace-2148497/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- PLS-00201: identifier 'MGMT_TIME_SYNC.STARTUPSYNC' must be declaredIDE
- 安裝Grid Control: PLS-00201 'MGMT_TIME_SYNC.STARTUPSYNC' must be declared
- Uncaught SyntaxError: Identifier 'Geometry' has already been declaredErrorIDE
- error:declared inside parameter listErrorIDE
- Fatal error: Cannot redeclare printerror() (previously declared in …Error
- Rman Backup Fails: PLS-00302: component 'GETREQUIREDSCN' must be declaredAIUI
- Caused by: org.hibernate.MappingException: must specify an identifier type:APPExceptionIDE
- error C2248: cannot access protected member declared in class '****'Error
- Error 1: Filename must be either an absolute pathname or blocklist(轉)ErrorBloC
- 【故障處理】imp PLS-00302: component 'SET_NO_OUTLINES' must be declared
- Xtrabackup恢復時報錯'Error: datadir must be specified'Error
- error C2061: syntax error : identifier '__RPC__out_xcount_part'ErrorIDERPC
- vue專案啟動報錯(SyntaxError: Identifier ‘__vite__injectQuery’ has already been declared (at ${mod.id}:55030:1))VueErrorIDEVite
- The entity "nbsp" was referenced, but not declared
- goldengate目的端應用序列出錯:[ORA-06550: line 1, column 8: PLS-00201: identifierGoIDE
- ERROR3948: Loading local data is disabled - this must be enabled on both the client and server sidesErrorclientServerIDE
- caffe安裝問題26_error use of undeclared identifier CV_LOAD_IMAGE_COLORErrorIDE
- How to change the implementation (detour) of an externally declared functionFunction
- It's a must to ghd
- 【PL/SQL 學習】PLS-00201SQL
- XX must be built with ARCUI
- but no encoding declared;問題的解決方法Encoding
- WPF Add ResourceDictionary file and declared in app.xamlAPP
- find: paths must precede expression:Express
- Flutter:VM snapshot must be valid. Check failed: vm. Must be able to initializeFlutterAI
- PostgreSQL DBA(80) - Object Identifier TypesSQLObjectIDE
- Oracle Custom Support Identifier(CSI)OracleIDE
- 關於VHDL中Loop State error...loop must terminate within 10,000 iterations錯誤解決方法OOPError
- Mount: you must specify the filesystem type
- Oracle identifiers :SID (System Identifier)OracleIDE
- ORA-00904: invalid identifierIDE
- Service異常:Service Intent must be explicitIntent
- mongodb報錯:the limit must be specified as a number。MongoDBMIT
- rman duplicate出現PLS-00201錯誤解決
- PLS-00201: 必須宣告識別符號 'VARTABLETYPE'符號
- 【Redis】錯誤:failed: Hostname must not be empty or nullRedisAINull
- Page directive must not have multiple occurrences of pageencodingEncoding
- Python 錯誤 SyntaxError: invalid character in identifierPythonErrorIDE