zoukankan      html  css  js  c++  java
  • dba_dependencies查询结果视图

    [oracle@rhel63single ~]$ sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.4.0 Production on Fri Mar 13 09:11:24 2015
    
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    
    SQL> col owner format a15
    SQL> col name format a15
    SQL> col REFERENCED_NAME   format a30
    SQL> col REFERENCED_OWNER format a16
    SQL> col REFERENCED_LINK_NAME format a30
    SQL> set line 200
    SQL> select * from dba_dependencies where NAME LIKE '%V_SAL%';
    
    OWNER           NAME            TYPE               REFERENCED_OWNER REFERENCED_NAME                REFERENCED_TYPE    REFERENCED_LINK_NAME           DEPENDENCY_TYPE 
    --------------- --------------- ------------------ ---------------  ------------------------------ ------------------ ------------------------------ ---------------
    SCOTT           V_SAL           VIEW               SCOTT            DEPT                           TABLE                                             HARD
    SCOTT           V_SAL           VIEW               SCOTT            EMP                            TABLE                                             HARD
    SYSTEM          SYN_V_SAL       SYNONYM            SCOTT            V_SAL                          VIEW                                              HARD
    
    SQL> 
    


     

    CREATE SYNONYM SYSTEM.SYN_V_SAL FOR SCOTT.V_SAL
    
     
    


     

    版权声明:本文博主原创文章,博客,未经同意不得转载。

  • 相关阅读:
    BZOJ 3529 数表
    BZOJ 3832 Rally
    BZOJ 1086 王室联邦
    BZOJ 2738 矩阵乘法
    2656565
    小L的区间求和
    小L的直线
    Co-prime 杭电4135
    POJ 跳蚤
    B
  • 原文地址:https://www.cnblogs.com/lcchuguo/p/4815515.html
Copyright © 2011-2022 走看看