Re: TWO_TASK

From: Roderick Manalac <rmanalac_at_oracle.COM>
Date: Tue, 16 Feb 1993 04:36:13 GMT
Message-ID: <1993Feb16.043613.6976_at_oracle.us.oracle.com>


smj_at_jbecpor.demon.co.uk (Martin Jarvis) writes:
|> Have a look for some info on the environment variable TWO_TASK.

The TWO_TASK environment variable is a Unix specific variable used by Oracle to append a database connect string to the end of a username/password combination. When it is not set, it defaults to 'P:' and uses the pipe driver protocol to connect to a local database as specified by the ORACLE_SID environment variable.

If this variable is set to something like 'T:hostname:SID' then the command "sqlplus scott/tiger" is automatically interpreted as "sqlplus scott/tiger_at_T:hostname:SID" and one is connected to the SID database on hostname via SQL*Net TCP/IP.

Roderick Manalac
Oracle Corporation
Worldwide Support
[DISCLAIMER: The opinions expressed here are solely that of the speaker] Received on Tue Feb 16 1993 - 05:36:13 CET

Original text of this message