Linux 环境下 PRO*C 程序的编写简单例Oracle 数据库版本 10
0 Linux 版本 Red Hat Enterprise AS3环境介绍:oracle 数据库和服务均安装到 linux 主机上一、oracle 用户的环境变量设置如下:[oracleguohui6 oracle]$ cat
bash_profile#
bash_profile# Get the aliases and functionsif [ -f ~/
bashrc ]; then
bashrcfi# User specific environment and startup programsORACLE_BASE=/mydatafile2/app/oracle; export ORACLE_BASEORACLE_SID=ORCL;export ORACLE_SID#ORACLE_SID=AUXY;export ORACLE_SIDORACLE_HOME=$ORACLE_BASE/oracle/product/10
0/db_1;export ORACLE_HOMEPATH=$PATH:$HOME/bin:$ORACLE_HOME/bin; export PATHLD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib:/usr/local/lib;export LD_LIBRARY_PATHNLS_LANG=american_america
ZHS16GBK;export NLS_LANGexport PATHunset USERNAME[oracleguohui6 oracle]$二、查看 oracle 用户的登录环境:[oracleguohui6 oracle]$ iduid=501(oracle) gid=501(oinstal