Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle DATABASE LINK
Hope this can be usefull.
Syntax:
CREATE {PUBLIC} DATABASE LINK <database link name> {CONNECT TO <oracle user id> IDENTIFIED BY <remote oracle user's password>}
USING '<dbstring>'
Notes:
Examples:
$ sqlplus system/manager
SQL> CREATE PUBLIC DATABASE LINK sales.acme.com 2> USING 'prodv2'; SQL> select * from emp_at_sales.acme.com;
$ sqlplus system/manager
SQL> CREATE PUBLIC DATABASE LINK sales 2> USING 't:dbserver:prod'; SQL> select * from emp_at_sales;
Notes:
mateev_at_geocities.com wrote:
> I made database link between two ORACLE Instances with this
> SQL statement:
>
>
>
>
>
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
-- Regards, Tommy Cusan MIS - DBA Tech. Support Oracle Indonesia Sentral Senayan I Office Tower, 9th Floor Jl. Asia Afrika no.8 - Jakarta 10270 Phone : (62 21) 572 3222 Fax : (62 21) 572 3350 / 60Received on Mon Nov 16 1998 - 00:00:00 CST