Stop and start pluggable db - oracle database script

stop and start pluggable db: - Oracle Database Script.

-- Open/close all the pluggable db: -- Connect to root container:  alter pluggable database all open;  alter pluggable database all close immediate;  -- Stop/start a pluggable db:  SQL> alter session set container=PDB1;  Session altered.  SQL> startup Pluggable Database opened. SQL> shutdown Pluggable Database closed.