DeepDiverMom
Programmer
If the current path that SQL*Plus checks, as a default, to resolve scripts (as in "@<script>") is path "/x/y/z", what change can I make, for my SQL*Plus session only, to use as my new default path, "/a/b/c"?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
@B\DDM.SQL;
MAIL=/usr/mail/${LOGNAME:?}
ORACLE_HOME=/u01/oracle/products/9.2.0
export ORACLE_HOME
ORACLE_BASE=/u01/oracle/products
export ORACLE_BASE
ORACLE_SID=yourdb
export ORACLE_SID
PATH=/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/ucb:/usr/perl5/bin:$ORACLE_HOME/bin:.
export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_LIBRARY_PATH
SQLPATH=/export/home/your_name/dbscripts
export SQLPATH
TERM=vt100
export TERM
trap 2 3
bash
define _editor=vi
set serveroutput on size 1000000
set trimspool on
set long 5000
set linesize 999
set pagesize 999
column plan_plus_exp format a80
column global_name new_value gname
set termout off
define gname=idle
column global_name new_value gname
¦SETTING UP YOUR ENVIRONMENT xxvii
select lower(user) || '@' || substr( global_name, 1,
decode( dot, 0, length(global_name), dot-1) ) global_name
from (select global_name, instr(global_name,'.') dot from global_name );
set sqlprompt '&gname> '
set termout on