SID---is the name of the database.
TNSNAMES.ORA-----This files contains the information which is used by the system to connect to oracle database.
This file is usually located at the following path.
.....\oracle\product\10.2.0\db_1\NETWORK\ADMIN
It contains several informations like
PROTOCOL
HOST IP ADDRESS
PORTNO
SID
etc
A typical entry in this file looks like this.
-
MES =
-
(DESCRIPTION =
-
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.35.15.1)(PORT = 1521))
-
(CONNECT_DATA = (SID = MES))
-
-