Quick Search:
CODE
Oracle PL/SQL Code Library
JOBS
Find Or Post Oracle Jobs
FORUM
Oracle Discussion & Chat
 Oracle PL/SQL: Database Links Jump to:  
Category: >> Oracle PL/SQL >> Database Links Bookmark and Share

<< lastnext >>

Snippet Name: Database Links

Description: Database Links are used to communicate between different databases.

Comment: (none)

Language:
Highlight Mode: PLSQL
Last Modified: March 06th, 2009

How TO VIEW existing database links
 
SELECT * FROM user_db_links;
 
SELECT * FROM all_db_links;
 
 
 
CREATE a PUBLIC Database Link
 
conn / AS sysdba
 
CREATE PUBLIC DATABASE LINK publink
USING 'public_link';
 
CLOSE a database link
ALTER SESSION CLOSE DATABASE LINK test1_link;
 
 
DROP a database link
DROP DATABASE LINK test1_link;  


Free
Oracle Magazine
Subscriptions
and Oracle White Papers


SQL University.net courses meet the most demanding needs of the business world for advanced education in a cost-effective manner. SQL University.net courses are available immediately for IT professionals and can be taken without disruption of your workplace schedule or processes.

Compared to traditional travel-based training, SQL University.net saves time and valuable corporate resources, allowing companies to do more with less. That's our mission, and that's what we deliver.

Click here to find out more
 
Home      :      Code Library      :      Sponsors      :      Privacy      :      Terms of Use      :      Contact Us 50 users online    © 2009 psoug.org

PSOUG LOGIN
Username: 
Password: 
Forgot your password?