This content has been marked as final. Show 2 replies
"ORA-12560: TNS:protocol adapter error"Most probably yes, Windows has the last installed product environment. Try setting XE environment before running sqlplus, something like
Not sure if it was because I installed Oracle EE.
set ORACLE_SID=XE set ORACLE_HOME=<XE Oracle Home> set PATH=<XE Oracle Home\bin>;%PATH% sqlplus .....
as you have more than one ORACLE_HOME you can also set the env variable TNS_ADMIN, this would be a dedicated location to store tnsnames, listener, sqlnet.