Accessing oracle with sqlplus and no tnsnames
Friday, July 28th, 2006If you want to access a database without it being in your tnsnames.ora file, you can use a ‘URL’ at the command line:
sqlplus login/pwd@//hostname:1521/sidname
This should work with versions 9 and above. Let me know if other versions work.