我是靠谱客的博主 迷路未来,这篇文章主要介绍重新编译PLSQL中的无效对象或者指定的对象 的方法,现在分享给大家,希望可以做个参考。

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;   

最后

以上就是迷路未来最近收集整理的关于重新编译PLSQL中的无效对象或者指定的对象 的方法的全部内容,更多相关重新编译PLSQL中的无效对象或者指定的对象内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(133)

评论列表共有 0 条评论

立即
投稿
返回
顶部