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