How to drop DB
ALTER SESSION SET "_ORACLE_SCRIPT"=true;
DROP USER username CASCADE;
QUIT
script can be run as:
sqlplus sys/sys_password@hostname:1521/ORCLCDB as SYSDBA @/oracle-init.sql;
ALTER SESSION SET "_ORACLE_SCRIPT"=true;
DROP USER username CASCADE;
QUIT
script can be run as:
sqlplus sys/sys_password@hostname:1521/ORCLCDB as SYSDBA @/oracle-init.sql;