Program Units and Referenced Objects (244)
Oracle automatically invalidates a program unit when the definition of a referenced
object is altered. For example, assume that a standalone procedure includes several
statements that reference a table, a view, another standalone procedure, and a public
package procedure. In that case, the following conditions hold:
■ If the referenced table is altered, then the dependent procedure is invalidated.
■ If the base table of the referenced view is altered, then the view and the dependent
procedure are invalidated.
■ If the referenced standalone procedure is replaced, then the dependent procedure
is invalidated.
■ If the body of the referenced package is replaced, then the dependent procedure is
not affected. However, if the specification of the referenced package is replaced,
then the dependent procedure is invalidated. This is a mechanism for minimizing
dependencies among procedures and referenced objects by using packages.
■ Whenever you create a table, index, and view, and then drop the table, all objects
dependent on that table are invalidated, including views, packages, package
bodies, functions, and procedures.
程式結構和引用物件
1. 如果引用包體被替換,則依賴過程不受影響。但是當引用包的宣告被替換後,依賴過程將處於無效狀態
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-984628/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Compilation of Views and PL/SQL Program Units (242)ViewSQL
- PL/SQL Program Units and the Shared Pool (89)SQL
- sys.allocation_units與sys.system_internals_allocation_units的差別
- English Metric Units 介紹
- The entity "nbsp" was referenced, but not declared
- Session State and Referenced Packages (246)SessionPackage
- ObjectsObject
- It is indirectly referenced from required .class fileUI
- Oracle ASM How many allocation units per fileOracleASM
- 【ABAP】FTP ProgramFTP
- Spark Driver Program剖析Spark
- Registering a program on the GatewayGateway
- "_OBJC_CLASS_$_XXX", referenced from:OBJ
- 【檢視】oracle 資料字典檢視之 DBA_OBJECTS / ALL_OBJECTS / USER_OBJECTS(OBJ)OracleObject
- Oracle dba_objects和all_objects 最大的區別OracleObject
- 淺談Associated ObjectsObject
- Destroying Window ObjectsObject
- create objects inmemory optionsObject
- Naming Database ObjectsDatabaseObject
- Run a program as a service (daemon)-GOGo
- Overview of the Program Global Areas (97)View
- Program Interface Structure (135)Struct
- pwn.college-Program Misuse
- "_dns_free_resource_record", referenced from:問題DNS
- Shale Shaker Units and Decanter Centrifuge Working in Turkey
- PostgreSQL 原始碼解讀(244)- plpgsql(CreateFunction-ProcedureCreate)SQL原始碼Function
- [LeetCode] 244. Shortest Word Distance IILeetCode
- Codeforces Round #244 (Div. 2) A. Police RecruitsUI
- zend_objects_store_putObject
- Objects as Points 論文總結Object
- PDO--PHP Data ObjectsPHPObject
- row cache objects latch研究Object
- Cost objects in SAP R/3Object
- HDU - 6736 F - Forest ProgramREST
- SAP APP: Automatic Payment ProgramAPP
- Program Execution 程式的執行
- Program perl 資料結構資料結構
- Individual Project - Word frequency programProject