show pdbs alter pluggable database booboopdb4 close; alter pluggable database booboopdb3 close; alter pluggable database booboopdb2 close; alter pluggable database all save state; show pdbs alter session set container=booboopdb1; show pdbs
NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ service_names string booboo SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 BOOBOOPDB1 READ WRITE NO 4 BOOBOOPDB2 READ WRITE NO 5 BOOBOOPDB3 READ WRITE NO 6 BOOBOOPDB4 READ WRITE NO SQL> alter pluggable database booboopdb4 close;
Pluggable database altered.
SQL> alter pluggable database booboopdb3 close;
Pluggable database altered.
SQL> alter pluggable database booboopdb2 close;
Pluggable database altered.
SQL> alter pluggable database all save state;
Pluggable database altered.
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 BOOBOOPDB1 READ WRITE NO 4 BOOBOOPDB2 MOUNTED 5 BOOBOOPDB3 MOUNTED 6 BOOBOOPDB4 MOUNTED
SQL> alter session set container=booboopdb1;
Session altered.
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 3 BOOBOOPDB1 READ WRITE NO