Solaris Example
The following Solaris example sets the environment variables that are required for
selecting an instance. When switching between instances with different Oracle homes,
the<wbr> ORACLE_HOME<wbr> environment variable must be changed.<br> % setenv ORACLE_SID SAL1<br> % setenv ORACLE_HOME /u01/app/oracle/product/10.1.0/db_1<br> % setenv LD_LIBRARY_PATH /usr/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ccs/lib<br><br> Most UNIX installations come with two scripts, <span style="color: rgb(237, 28, 36);">oraenv</span><wbr> and coraenv, that can be<br> used to easily set these environment variables. For more information, see<br> Administrator's Reference for UNIX Systems.<br><br> Windows Example<br> On Windows, you must set only the ORACLE_ SID environment variable to select an<br> instance before starting SQL*Plus.<br> SET ORACLE_SID=SAL1 </wbr></wbr></wbr>
The following Solaris example sets the environment variables that are required for
selecting an instance. When switching between instances with different Oracle homes,
the<wbr> ORACLE_HOME<wbr> environment variable must be changed.<br> % setenv ORACLE_SID SAL1<br> % setenv ORACLE_HOME /u01/app/oracle/product/10.1.0/db_1<br> % setenv LD_LIBRARY_PATH /usr/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ccs/lib<br><br> Most UNIX installations come with two scripts, <span style="color: rgb(237, 28, 36);">oraenv</span><wbr> and coraenv, that can be<br> used to easily set these environment variables. For more information, see<br> Administrator's Reference for UNIX Systems.<br><br> Windows Example<br> On Windows, you must set only the ORACLE_ SID environment variable to select an<br> instance before starting SQL*Plus.<br> SET ORACLE_SID=SAL1 </wbr></wbr></wbr>