比较难,toad 可能看到一些,但不完整,不过我想,一定可以通过写脚本来实行,不过我现在还没有这个能力写,看那位高人能帮帮你。

解决方案 »

  1.   

    select distinct name from sys.all_source where owner='USERNAME' and (type='PROCEDURE' or type = 'FUNCTION') and (text like '%tablename%' or text like '%TABLENAME%'
      

  2.   

    查dba_dependencies视图。根据REFERENCED_OWNER、REFERENCED_NAME来查。如查用户A的表T被哪些对象依赖
    select owner,name,type from dba_dependencies where owner='A' and referenced_name='T';
      

  3.   

    可到user_source这个视图中察看存储过程或函数的脚本
      

  4.   

    pl/sql左边框-->tables--->Recompile referencing objects
    可以得到你所希望的
      

  5.   

    或者
    select * from user_source where upper(text) like '%YOURTABLE%'
    再进行剔除
      

  6.   

    谢谢大家的帮忙,在toad我已经找到我要找的东西了。