TNS error when specifying databse name , else it's working fine without specifying database name
I have installed oracle database 10g release and the default databse is ORCL .
When i am trying to connect to sql plus with username/password only ..it's connecting
but the moment i am giving Host String as :- ORCL , its giving TNS error
my TNS entries are :--
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = VKARAKOTI00134.us.nam.ad.pwcinternal.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
Would be thankful if anyone can help me here. I want to connect to databse thru Host_string
regards
Vijay