I have following commands in a script :
ALTER SESSION SET CONTAINER = orclpdb
ALTER session set "_ORACLE_SCRIPT"=true;
CREATE PROFILE test_profile LIMIT password_life_time unlimited;
CREATE USER test IDENTIFIED BY test123
PROFILE test_profile
while dropping user using:
ALTER SESSION SET CONTAINER = orclpdb;
DROP USER test cascade;
I am getting :
ora-28014 cannot drop administrative users
My first concern is how this test
user is getting administrative privilege.
Secondly is there anyway better way to do this.