Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Remote connection without the @ sign
<Zachary_E_Jones_at_raytheon.com> a écrit dans le message de
news:1103635990.028357.154220_at_c13g2000cwb.googlegroups.com...
| I set up an Oracle 10g Rac system on two database servers with Red Hat
| ES 3.1. Right now from my application tier(ES 3.0) I can connect to my
| database tier through the oracle client with:
| oracle>sqlplus user/password_at_remote
|
| I have legacy code that is set up to only connect
|
| oracle>sqlplus user/password
|
| Is there anyway that I can set it up so that when I do an sqlplus on
| that machine it defaults to the remote connection?
|
| Basically I want to set it up so that when I do:
|
| oracle>sqlplus user/password
| I actually get.
|
| oracle>sqlplus user/password_at_remote
|
| Thanks in advance
|
set TWO_TASK environment parameter to your remote connection string.
Regards
Michel Cadot
Received on Tue Dec 21 2004 - 07:45:11 CST