Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Facts about SCN and Rollback Segment Oracle
  • Set Role explaination. Oracle
  • move_arch_files.ksh Linux/Unix
  • How to see which patches are applied. Oracle
  • refre.sql Oracle
  • Wait.sql Oracle
  • metalink all dynamic view reference notes. Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • Caching sequence in Memory Oracle
  • sqlnet.ora paramters 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

  • scripts to take listener.log backup Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • Small sample shell program Linux/Unix
  • To see mem usage and CPU usage system wide. Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix
  • create a folder in multiple places 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)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Query to Generate aggregate on every 30 mins. Oracle
  • eplan.sql Oracle
  • send attachment from unix-shell script Linux/Unix
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • compile_inv.sql Oracle
  • restarting network in linux Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme