我在我的系统上安装了一个 Oracle 12c 数据库。我有一个需要访问数据库的应用程序。
以前在 Oracle 11g 中,我使用以下命令创建用户。
create user name identified by name;
grant connect,create session,resource,create view to name;
谁能告诉我如何根据我的上述要求在 Oracle 12c 中创建用户?我使用了以下语句,但我的安装显示了一个致命错误,说
FATAL ERROR - java.sql.SQLException: ORA-01950: no privileges on tablespace 'USERS'
以下是使用的语句。
create user c##test1 identified by test1 container = ALL;
grant connect,create session,resource,create view to test1;