All technological notes.
prerequisite:
Statement:
DROP PLUGGABLE DATABASE pdb2 INCLUDING DATAFILES;
-- confirm current in root
show con_name;
-- error if pdb is not closed
DROP PLUGGABLE DATABASE pdb2 INCLUDING DATAFILES;
#ERROR at line 1:
#ORA-65025: Pluggable database PDB2 is not closed on all instances.
-- close target pdb
ALTER PLUGGABLE DATABASE pdb2 CLOSE;
-- drop pdb
DROP PLUGGABLE DATABASE pdb2 INCLUDING DATAFILES;
-- confirm
SELECT name, open_mode FROM v$pdbs;


