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
    
     
    


     

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

  • 相关阅读:
    定位 -CLGeocoder
    定位
    定位
    定位- 汽车导航
    定位
    SVN
    githubRepository -- 使用
    git 常用指令
    ipad ------ 与iPhone的差别
    总结
  • 原文地址:https://www.cnblogs.com/lcchuguo/p/4815515.html
Copyright © 2011-2022 走看看