ottertune/client/driver/oracleScripts/dropUser.sh

10 lines
92 B
Bash

#!/bin/sh
USERNAME="$1"
sqlplus / as sysdba <<EOF
drop user $USERNAME cascade;
quit
EOF