sqlplus sys/xxxxx as sysdba@pdborcl.xxxx.com
SQL*Plus: Release 12.1.0.2.0 Production on Fri Nov 4 12:07:01 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL> SELECT name,open_mode from v$pdbs ORDER BY name;
NAME OPEN_MODE
------------------------------ ----------
PDB$SEED READ ONLY
PDBORCL MOUNTED
SQL> alter pluggable database pdborcl open read write;
Pluggable database altered.
SQL> SELECT name,open_mode from v$pdbs ORDER BY name;
NAME OPEN_MODE
------------------------------ ----------
PDB$SEED READ ONLY
PDBORCL READ WRITE
SQL>
Hi,
ReplyDeleteThanks for posting article on sql plus command.
Thank you.
oracle R12 training