Oracle Database 中, 使無效物件重新生效 (Recompile)

當修改某個 Table 或 Package 物件,

而導致其他 Oracle Database 物件失效時,

可以利用下面幾種語法, 讓物件重新編譯 (Recompile) :
 語法
alter view [owner.]xxx compile;

alter procedure [owner.]xxx compile;

alter function [owner.]xxx compile;

alter package [owner.]xxx compile;

alter package [owner.]xxx compile body;

Related Posts Plugin for WordPress, Blogger...