Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to see which patches are applied. Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • Removing first line Linux/Unix
  • Alter procedure auditing Oracle
  • move_arch_files.ksh Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • db_status.sql Oracle
  • How to stop OCSSD Daemon Oracle
  • create database syntax Oracle
  • scripts to take listener.log backup Linux/Unix
  • Free conference number from http://www.freeconference.com Oracle
  • Rename Tablespace Oracle
  • How to sort list of files on basis of their sizes. 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

  • Process Map for CPU and Memory for OS processes Linux/Unix
  • cif crons Linux/Unix
  • setting prompt display with .profile Linux/Unix
  • replace alphabets using sed Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • switchlogfile.sh 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
  • good linux notes Linux/Unix
  • Temporary Tablespsace Temp tablespace behaviour Oracle
  • sql_plan9i.sql Oracle
  • How can I tell if ASO is installed ? Oracle
  • Kernel Parameters for Solaris Linux/Unix
  • Committing distributed transaction using commit force Oracle
  • Oracle Release Explaination Oracle
  • Changing the Global Database Name Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme