![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
How to query on two tables that are on two different remote database with a join. s * f tb1@uid/pass (AT) db1 (DOT) world a, tb2@uid/pass (AT) db2 (DOT) world b w a.col1 = b.col2 but this does not work, any idea ? Thanks Does not work, how? |
#2
| |||
| |||
|
|
How to query on two tables that are on two different remote database with a join. s * f tb1@uid/pass (AT) db1 (DOT) world a, tb2@uid/pass (AT) db2 (DOT) world b w a.col1 = b.col2 but this does not work, any idea ? Thanks |
#3
| |||
| |||
|
|
I do have a dblink between the two remote databases,which I am using in my query userid/ password followed by dblink Thanks Kiran Tim X wrote: "kiran" == kiran <kiran.news.invalid (AT) web2news (DOT) net> writes: kiran> How to query on two tables that are on two different remote kiran> database with a join. kiran> s * f tb1@uid/pass (AT) db1 (DOT) world a, tb2@uid/pass (AT) db2 (DOT) world b w kiran> a.col1 = b.col2 kiran> but this does not work, any idea ? kiran> Thanks Read up about database links. You need to create a db link and then use the syntax select .... from table@dblink_name .... -- Direct access to this group with http://web2news.com http://web2news.com/?comp.databases.oracle.server |
#4
| |||
| |||
|
|
I do have a dblink between the two remote databases,which I am using in my query userid/ password followed by dblink Thanks Kiran Tim X wrote: "kiran" == kiran <kiran.news.invalid (AT) web2news (DOT) net> writes: kiran> How to query on two tables that are on two different remote kiran> database with a join. kiran> s * f tb1@uid/pass (AT) db1 (DOT) world a, tb2@uid/pass (AT) db2 (DOT) world b w kiran> a.col1 = b.col2 kiran> but this does not work, any idea ? kiran> Thanks Read up about database links. You need to create a db link and then use the syntax select .... from table@dblink_name .... -- Direct access to this group with http://web2news.com http://web2news.com/?comp.databases.oracle.server |
![]() |
| Thread Tools | |
| Display Modes | |
| |