Friday 6 July 2007

How to create database link in Oracle 9i

CREATE PUBLIC DATABASE LINK "RAF"
CONNECT TO "APPS"
IDENTIFIED BY "APPS"
USING '(description=(address=(protocol=TCP)
(host=server1)(port=1521))(connect_data=(sid=DEV)))'


Run the following from sqlplus to test your dblink
SELECT SYSDATE FROM DUAL@RAF

No comments:

Profile - Oracle 11i AppsDBA
Over 7 years of experience as an Oracle Applications DBA managing Oracle Public Sector HRMS 11.5.10 and Oracle Financials 11i in Unix and Windows NT environments. Strong skills and experience with installing, patching, cloning and troubleshooting various Oracle E-Business Suite products in Oracle database 9i and 10g. Proactive in the different phases of architecture design, development, testing, maintenance, performance enhancement and postproduction support. Currently working as Oracle Application DBA at Warwickshire County Council.

------------------------------------------------------------------------------------------------------------------------------