Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SQL*PLUS connect string problem...

Re: SQL*PLUS connect string problem...

From: Bola Ogunlana <bolao_at_incads.demon.co.uk>
Date: Tue, 15 Sep 1998 14:42:40 +0100
Message-ID: <905868400.28953.5.nnrp-09.c2dec0b7@news.demon.co.uk>


Use the "TWO_TASK" environment variable (while logged into sever B). This overrides the ORACLE_SID & it should correspond to your target database alias as named in tnsnames.ora file.

Once your TWO_TASK variable is set,
sqlplus username/password
will try to connect to the database specified by the TWO_TASK envronment variable.
Jimmy wrote in message <35FD0BC9.30B3_at_comp.polyu.edu.hk>...
>Hello all,
>
> Oracle server (7.3) is in UNIX server A. I want to use SQL*Plus in
>another UNIX server B to connect to Oracle server (in UNIX server A). SO
>I type "sqlplus username/passwd_at_A". (using SQL*NET V2.0)
> However, I want in server B, just typing "sqlplus username/passwd". Is
>it possible? And any env. variable in UNIX that need to be set? Both
>UNIX server is Solaris 2.5.(like LOCAL in PC client)
>
>Thanks,
>Jimmy
Received on Tue Sep 15 1998 - 08:42:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US