Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Removing Blank lines from file using grep Linux/Unix
  • create database syntax Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • Oracle Connections expire_time and firewall Oracle
  • check_copy_progress.sh Linux/Unix
  • Gathering statistics with DBMS_STATS Oracle
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • AWR settings- MMON is not taking snapshot. Oracle
  • Jai Shree Ram Linux/Unix
  • Check SQL Server edition SQL Server
  • Getting started with notebook Python/PySpark
  • Oracle Statspack survival Guide Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • block_ident.sql Oracle

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

  • switchlogfile.sh Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • 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

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Removing Blank lines from file using grep Linux/Unix
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • Sending email with file attachment. Linux/Unix
  • create PLAN_TABLE command. Oracle
  • USE_NL and INDEX hints example Oracle
  • age_alert.ksh aging out alert.log 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

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme