Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

12c can not alter or drop pdb

1043648Sep 27 2013 — edited Sep 28 2013

Trying to work out the new CDB and PDB concepts moving from 11g to 12c.

Logging on to SQL*Plus as user SYSTEM, then created a PDB using:

CREATE PLUGGABLE DATABASE test

   ADMIN USER test

   IDENTIFIED BY password

   ROLES = (DBA)

   DEFAULT TABLESPACE users

   TEMPFILE REUSE

   FILE_NAME_CONVERT = ('C:\Oracle\oradata\orcl\pdbseed','C:\Oracle\oradata\orcl\test')

;

This produces an error:

ORA-00604: error occurred at recursive SQL level 1

ORA-02236: invalid file name

However, the command:  sho pdbs

shows the new database TEST as open mode MOUNTED

The command:  ALTER PLUGGABLE DATABASE test CLOSE;

results in:  ORA-01031: insufficient privileges

The command:  DROP PLUGGABLE DATABASE test INCLUDING DATAFILES ;

results in:  ORA-01031: insufficient privileges

1. Why did the command result in an 'invalid file name' error?  Does the database folder have to be created in advance?

2. Why can the PDB not be altered or deleted?  What privilege is missing and how can it be applied?

Thanks.

This post has been answered by 1043648 on Sep 28 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2013
Added on Sep 27 2013
9 comments
1,750 views