oracle 12c commonly used commands

1, to see how many pdb database:
the SQL> Show PDBS;
2, switch to the specified container database:
the SQL> ALTER the session SET Container = ORCLPDB;
. 3, starting container database:
the SQL> ALTER Pluggable Database ORCLPDB Open;
. 4, close the container database:
SQL> Pluggable database ORCLPDB use Close the ALTER load immediate;
5, view the database name:
SQL> Show con_name;

Guess you like

Origin blog.51cto.com/12447922/2412354