Oracle

ORA-65096: create 12c user without c## problem

I am trying to create a user in Oracle 12c .  When I try to create a user with the c## prefix I get the dreaded ORA-65096 error:

create user dba_exchange identified by dba_exchange _123;
ORA-65096: invalid common user or role name

solution:

connect system/manager as sysdba

SQL> alter session set "_ORACLE_SCRIPT"=true;

Session altered.

create user dba_exchange identified by dba_exchange _123;

user created.

Advertisements
Standard