[Oracle@jumper oracle]$ sqlplus "/ as sysdba" SQL*Plus: Release 9.2.0.4.0 - PRodUCtion on Tue Nov 7 21:07:56 2006Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.建立DB Link:
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning option
JServer Release 9.2.0.4.0 - ProductionSQL> grant create public database link to eygle;Grant succeeded.
SQL> grant all on dbms_Flashback to eygle;Grant succeeded.
SQL> connect eygle/eygle此后可以尝试使用DB Link进行远程和本地执行:SQL> set serveroutput on
Connected.
SQL> create public database link hsbill using 'hsbill'; Database link created.SQL> select db_link from dba_db_links;DB_LINK
---------------------------------------------------
HSBILLSQL> select * from dual@hsbill;D
-
X
新闻热点
疑难解答