Sep 27, 2001 #1 amerbaig IS-IT--Management Sep 4, 2001 58 CA Can I access another data base when I am working in another database. LIke Select * from dbmgt/Pass@sales.purch
Can I access another data base when I am working in another database. LIke Select * from dbmgt/Pass@sales.purch
Sep 28, 2001 #2 rcurva Programmer Jul 17, 2001 548 AU Of course you can, that is if you have a database link on that DB. As a DBA create a dblink in your DB... CREATE PUBLIC DATABASE LINK myotherdb.link CONNECT TO username IDENTIFIED BY password USING 'other_db'; Make sure that your DB server can connect to your 'other' DB. Then from your sqlplus: select * from TABLE1@myotherdb.link; Upvote 0 Downvote
Of course you can, that is if you have a database link on that DB. As a DBA create a dblink in your DB... CREATE PUBLIC DATABASE LINK myotherdb.link CONNECT TO username IDENTIFIED BY password USING 'other_db'; Make sure that your DB server can connect to your 'other' DB. Then from your sqlplus: select * from TABLE1@myotherdb.link;