Tag Archives: Scripts

Sqlplus: Connect without configure TNSNAMES


Okey, you must to know, but is always useful to remmember that… If you don’t want to configure your TNSNAMES, you can connect directly to description of your database. This way: sqlplus> conn matheus_boesing@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=mydb.domain.net)(PORT=1531)))(CONNECT_DATA=(service_name=mydb))) Enter password: ******** Connected. sqlplus> Based on this, I made two scripts, to connect with the sid (c.sql) or with the […]

http://matheusdba.com.br/2015/07/07/sqlplus-connect-without-configure-tnsnames/