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
    
     
    


     

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

  • 相关阅读:
    PAT 甲级 1132 Cut Integer (20 分)
    AcWing 7.混合背包问题
    AcWing 9. 分组背包问题
    AcWing 5. 多重背包问题 II
    AcWing 3. 完全背包问题
    AcWing 4. 多重背包问题
    AcWing 2. 01背包问题
    AcWing 875. 快速幂
    AcWing 874. 筛法求欧拉函数
    AcWing 873. 欧拉函数
  • 原文地址:https://www.cnblogs.com/lcchuguo/p/4815515.html
Copyright © 2011-2022 走看看