ottertune/client/driver/oracleScripts/dropUser.sh

10 lines
92 B
Bash
Raw Normal View History

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