| Lesson 11 | Application connection with SQL*Net |
| Objective | Describe the two ways to connect to remote databases. |
Connections to remote databases can be made by specifying either service names or connect strings. Service names are
used by SQL*Net version 2 and Net8 and take the following syntax:
emp@my_db
sqlplus /@t:host:databaseThese connect strings can be saved in the Oracle database dictionary for use by distributed SQL. They are created with the create database link command and are stored in the DBA_USER-DBLINKS meta-table:
create public database link ny_emp for ny_emp@t:myhost:mydatabase
Oracle TNS Quiz
Before moving on to the next lesson, click the Quiz link below to check your mastery of the material we've covered in the past
few lessons with a short multiple-choice quiz.
Oracle TNS Quiz
On Your Own
Oracle TNS Quiz
If you have access to an Oracle server, click the On Your link to practice searching your Oracle topology.
Searching Oracle Toplogy
Searching Oracle Toplogy