Home » RDBMS Server » Server Administration » Linking Database
Linking Database [message #369780] Tue, 10 October 2000 14:40 Go to next message
rivers
Messages: 4
Registered: October 2000
Junior Member
i need to add some financial information from a separate database. How do i go about linking those so that i can complete an online form?!
Re: Linking Database [message #369781 is a reply to message #369780] Tue, 10 October 2000 15:10 Go to previous messageGo to next message
Rob
Messages: 70
Registered: January 2000
Member
you need to create a database link

try

create public database link linkname
connect to username identified by PASSWORD
using 'SID';
create public synonym linkname for linkname;

then you can refer to the other db's tables
via
select * from tablename@linkname

verify the link with
select * from dba_db_links
Re: Linking Database [message #369782 is a reply to message #369780] Tue, 10 October 2000 15:12 Go to previous message
Rob
Messages: 70
Registered: January 2000
Member
you need to create a database link

try

create public database link linkname
connect to username identified by PASSWORD
using 'SID';
create public synonym linkname for linkname;

then you can refer to the other db's tables
via
select * from tablename@linkname

verify the link with
select * from dba_db_links
Previous Topic: About Pl/SqL error messages
Next Topic: SQL Plus
Goto Forum:
  


Current Time: Wed Apr 24 02:22:53 CDT 2024