[[email protected] ~]$ 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
版权声明:本文博主原创文章,博客,未经同意不得转载。
时间: 2024-11-06 12:32:44