ORCL=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP) (HOST=dbserver1.acme.com)(PORT=1521))) (CONNECT_DATA=(SID=orcl)(SERVER=DEDICATED)))In this case, your connect string is simply "orcl." You only need to define this TNS alias on your database server. The clients will submit the SQL to the database. The database will recognize that it is using the database link and look up the TNS alias information for the user. There is no need to add this entry to the client workstation to get the database link to work.
Dig Deeper on Oracle database backup and recovery
Related Q&A from Brian Peasland
Oracle expert Brian Peasland answers one reader's question about common pitfalls when connecting Oracle to outside programs. Continue Reading
One reader asks expert Brian Peasland a question about datafile sizes with the Oracle RMAN duplicate 10g command. Continue Reading
Managing parent table-child table relations in Oracle SQL environments is key to efficient programming. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.