「Oracle入門」tnsnames.oraのサンプル
書式
NET_SERVICE_NAME=
( DESCRIPTION=
( ADDRESS=(PROTOCOL_ADDRESS_PORT))
( CONNECT_DATA= (SERVICE_NAME=SERVICE_NAME))
)
例
TESTDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dbsvs.argame.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CFT)
)
)