环境变量设置  Solaris windows

来源:互联网 发布:数据库系统特点的是 编辑:程序博客网 时间:2024/05/20 02:28
Solaris Example
The following Solaris example sets the environment variables thatare required for
selecting an instance. When switching between instances withdifferent Oracle homes,
the  ORACLE_HOME  environmentvariable must be changed.
% setenv ORACLE_SID SAL1
% setenv ORACLE_HOME /u01/app/oracle/product/10.1.0/db_1
% setenv LD_LIBRARY_PATH/usr/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ccs/lib

Most UNIX installations come with two scripts, oraenv  andcoraenv, that can be
used to easily set these environment variables. For moreinformation, see
Administrator's Reference for UNIX Systems.

Windows Example
On Windows, you must set only the ORACLE_ SID environment variableto select an
instance before starting SQL*Plus.
SET ORACLE_SID=SAL1
原创粉丝点击