Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • findobj.sql Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • tab.sql Oracle
  • Oracle Standby Database Library Index from Metalink Oracle
  • get_vmstat.ksh Linux/Unix
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • sql_doing_fts.sql Oracle
  • Running select from V$ views from remote server Linux/Unix
  • Roles and Stored Object behaviour Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • good linux notes Linux/Unix

set_env_dba

Posted on 02-Aug-2005 By Admin No Comments on set_env_dba

# This File Sets all the Oracle Environment Variables and is called from

# Each Users’s . profile file.

B=`tput smso`

N=`tput rmso`

echo “”

echo “Enter $B 1 $N to access Oracle 10.1.0.3 – TEST ”

echo “”

echo “Enter $B 2 $N to access Oracle 10.1.0.3 – UOCTEST ”

echo “”

echo “Enter $B 3 $N to access Oracle 9.2 – UOCB ”

echo “”

echo “Enter $B 4 $N to access Oracle 10.1.0.3 – CADEV ”

echo “”

echo “Enter Your Choice [2] : c”

read CHOICE

case ${CHOICE:-1} in

1) . /oracle/oraprocs/oracle_env_10g_TEST;;

2) . /oracle/oraprocs/oracle_env_10g_UOCTEST;;

3) . /oracle/oraprocs/oracle_env_92_UOCB;;

4) . /oracle/oraprocs/oracle_env_10g_CADEV;;

esac

echo “”

unset N

unset B

Linux/Unix, shell

Post navigation

Previous Post: .profile
Next Post: oracle_env_10g_CADEV

Related Posts

  • Removing first line Linux/Unix
  • on IBM-AIX for display Linux/Unix
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • Space padding in korn shell Linux/Unix
  • Kernel Parameters for Solaris Linux/Unix
  • process id based files and processes Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • cur_sql.sql Oracle
  • Read CSV File using Python Python/PySpark
  • cif crons Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • OEM-Commnds Oracle
  • DBMS_JOB all example Oracle
  • Vivek Tuning for Row Locks. Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme