重新编译PLSQL中的无效对象或者指定的对象 的方法
时间:2020-11-14 11:24:09|栏目:Oracle|点击: 次
Oracle Tips, Tricks & Scripts
1. Topic: Compiling Invalid Objects:
Oracle8i and Oracle9i provides a script called utlrp.sql located in $ORACLE_HOME/rdbms/admin which can be used anytime to recompile all exisiting PL/SQL modules (procedure, functions,packages,triggers, types, and views) in a database.
编译无效的对象:
$ORACLE_HOME/rdbms/admin/utlrp.sql
或者
编译指定的对象:
过程:
alter procedure procedure_name compile;
函数:
alter function function_name compile;
包:
alter package package_name compile;
包体:
alter package package_name compile body;
1. Topic: Compiling Invalid Objects:
Oracle8i and Oracle9i provides a script called utlrp.sql located in $ORACLE_HOME/rdbms/admin which can be used anytime to recompile all exisiting PL/SQL modules (procedure, functions,packages,triggers, types, and views) in a database.
编译无效的对象:
$ORACLE_HOME/rdbms/admin/utlrp.sql
或者
编译指定的对象:
过程:
alter procedure procedure_name compile;
函数:
alter function function_name compile;
包:
alter package package_name compile;
包体:
alter package package_name compile body;
上一篇:Oracle例外用法实例详解
栏 目:Oracle
本文标题:重新编译PLSQL中的无效对象或者指定的对象 的方法
本文地址:http://www.codeinn.net/misctech/22280.html