Connect Descriptors
The client uses a connect descriptor to specify the database to which it wants to
connect. This connect descriptor contains a protocol and a database service name. A
database can have multiple service names defined, so a specific service name must be
specified for the connect descriptor. In a preconfigured database, there is only one
service name, which defaults to the global database name.
The following example shows a connect descriptor that enables clients to connect to a
database with service name mydb.us.example.com:
DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=my-server) PORT=1521))
(CONNECT_DATA=
(SERVICE_NAME=mydb.us.example.com))
... zobacz całą notatkę
Komentarze użytkowników (0)