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!

Question on CONTAINER clause in Multitenant DB

T.BoydAug 12 2021

DB version:19c 
OS : RHEL 7.9 

I have created the common user C##RMAN_USER with CONTAINER = ALL clause.
Now, when connected from the root container, I try to run the below ALTER USER command. But, it fails until I add CONTAINER=CURRENT clause.
Any idea what ORA-65273 mean ? I am new to multitenant world.

create user C##RMAN_USER identified by Tigress384 CONTAINER = ALL; --- This was successful

SQL> ALTER USER C##RMAN_USER PROFILE UNLIMITED_CUST1 SET container_data = ALL;
ALTER USER C##RMAN_USER PROFILE UNLIMITED_CUST1 SET container_data = ALL
*
ERROR at line 1:
ORA-65273: The specified changes must be restricted to the current container.


ALTER USER C##RMAN_USER
PROFILE   UNLIMITED_CUST1
SET     container_data = ALL
 4       CONTAINER=CURRENT;

User altered.

SQL>
SQL> show con_name


CON_NAME
------------------------------
CDB$ROOT


This post has been answered by JohnWatson2 on Aug 12 2021
Jump to Answer
Comments
Post Details
Added on Aug 12 2021
4 comments
1,016 views