ludc
2024-04-08 b1a5e8cc7f796326c307052dc7b867cff48dd7c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
 
source ./oracle_env.sh
 
echo "input oracle user"
read oracle_user
 
 
echo "execute Y|N"
read flag
 
 
if [[ $flag == "N" ]];then
 
  echo "exit "
  exit;
 
fi
 
sqlplus / as sysdba @$spath/drop_user.sql $oracle_user  </dev/null