常用的oracle表和视图.docxVIP

  • 3
  • 0
  • 约1.2万字
  • 约 20页
  • 2018-08-13 发布于江苏
  • 举报
常用的oracle表和视图

oracle中查询某个表在那个存储过程中用到了例如查询t_lea_waybill在那个存储过程中用到了:select a.name 过程名称, min(a.line) 首次出现行数from user_source awhere a.TEXT like%t_lea_waybill%groupby a.name;这样当我们不知道某个表在那个存储过程里面用到的时候,我们就不必要把每个存储过程打开在里面搜,直接用这个语句就可以查到,可以提高效率。oracle中查询某个存储过程用到了那些表select de.referenced_name from user_dependencies de where de.name=BI_OPER_REPORTand de.referenced_type=TABLE;oracle中查询某个存储过程用到了那些序列select de.referenced_name from user_dependencies de where de.name=BI_OPER_REPORTand de.referenced_type=SEQUENCE;4、oracle中查询某个字段属于哪个表select table_name, ownerfrom dba_tab_columns t where t.COLUMN_NAME = upper(MENUNAME);??select t

文档评论(0)

1亿VIP精品文档

相关文档