sqlplus - ORACLE_SID - UNIX
848959Sep 8 2011 — edited Sep 8 2011Hi,
I would like to connect to SQLPLUS from UNIX without providing database name like given below,
$sqlplus username/password
I tried providing ORACLE_SID value with the DB Name and invoked the above command, it gives "ORA-12162: TNS:net service name is incorrectly specified" error message.
What is the real use of ORACLE_SID here?
When I try as given below, it works well.
$sqlplus username@dbname/password
Please guide me, thank you.