Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SIDs and connectivity
If you are on the same machine as the database then by clearning the
TWO_TASK environment variable and setting the $ORACLE_SID variable you
can connect as sysdba providing you are a member of the database group.
You can also set the value of TWO_TASK or provide the tnsnames.ora Service name on the connect string to connect to any available instance, local or remove, without having to worry about the setting of $ORACLE_SID however $ORACLE_HOME should be set so that the OS can find sqlplus.
sqlplus username_at_service_name
HTH -- Mark D Powell -- Received on Sat Jul 23 2005 - 15:45:57 CDT
![]() |
![]() |