专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »数据库 » plsql:重新编译PLSQL中的无效对象或者指定的对象 的思路方法 »正文

plsql:重新编译PLSQL中的无效对象或者指定的对象 的思路方法

来源: 发布时间:星期三, 2008年12月24日 浏览:33次 评论:0
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;

相关文章

读者评论

发表评论

  • 昵称:
  • 内容: