Skip to content
accelerando

Using SQL*Plus without tnsnames.ora

As often, a quick reminder for me. I’m using the Oracle Instaclient on my Mac without a tnsnames.ora and i keep forgetting the connectstring syntax:

sqlplus USER/PASS@//HOST:PORT/SID

Extra bonus points: Through in rlwrap to get a nice commandline history and completion as used to in a standard shell:

rlwrap sqlplus USER/PASS@//HOST:PORT/SID

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

*

Close
E-mail It