Compilation of Views and PL/SQL Program Units (242)
A view or PL/SQL program unit can be compiled and made valid if the following
conditions are satisfied:
■ The definition of the view or program unit must be correct. All of the SQL and
PL/SQL statements must be proper constructs.
■ All referenced objects must be present and of the expected structure. For example,
if the defining query of a view includes a column, the column must be present in
the base table.
■ The owner of the view or program unit must have the necessary privileges for the
referenced objects. For example, if a SQL statement in a procedure inserts a row
into a table, the owner of the procedure must have the INSERT privilege for the
referenced table.
檢視與PL/SQL程式單元的編譯
滿足如下條件的檢視與PL/SQL程式單元才能編譯成功
1. 檢視或 PL/SQL 程式結構的定義必須正確。SQL 及 PL/SQL 語句的語法結構必須正確
2. 所有引用物件及其結構必須滿足定義的要求
3. 檢視或 PL/SQL 程式結構的所有者必須具備訪問引用物件的許可權
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-983758/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- PL/SQL Program Units and the Shared Pool (89)SQL
- Program Units and Referenced Objects (244)Object
- Oracle PL/SQL 優化與調整 – PL/SQL Native Compilation 說明OracleSQL優化
- Oracle 10gR2 – Conditional PL/SQL Compilation(轉)Oracle 10gSQL
- PL/SQLSQL
- oracle concurrent program session and sqlOracleSessionSQL
- perl adbldxml.pl報錯BEGIN failed--compilation aborted at adbldxml.pl line 32XMLAI
- Whats the difference between the v$sql* viewsSQLView
- SQL&PL/SQL (轉)SQL
- PL/SQL 宣告SQL
- PL/SQL cursorSQL
- PL/SQL打包SQL
- PL/SQL DEVSQLdev
- Oracle PL/SQLOracleSQL
- 【SQL】17 SQL 檢視(Views)、SQL Date 函式、SQL NULL 值、SQLView函式Null
- ORA-04068,ORA-04065,ORA-06508 PL/SQL: could not find program unit being calledSQL
- 使用PL/Scope分析PL/SQL程式碼SQL
- PLSQL Language Reference-PL/SQL概覽-PL/SQL架構SQL架構
- [PL/SQL]10g PL/SQL學習筆記(一)SQL筆記
- [PL/SQL]10g PL/SQL學習筆記(二)SQL筆記
- [PL/SQL]10g PL/SQL學習筆記(三)SQL筆記
- PL/SQL 迴圈SQL
- PL/SQL 遊標SQL
- PL/SQL 運算子SQL
- PL/SQL 條件SQL
- pl/sql to_dateSQL
- PL/SQL 基礎SQL
- Oracle PL/SQL INDICESOracleSQL
- PL/SQl Developer使用SQLDeveloper
- pl/sql陣列SQL陣列
- pl/sql練習SQL
- oracle PL/SQL示例OracleSQL
- 淺談pl/sqlSQL
- PL/SQL 索引表SQL索引
- pl/sql 練習SQL
- [pl sql] where current ofSQL
- pl/sql功能特性SQL
- PL/SQL Developer 使用SQLDeveloper