My Oracle Support Banner

ORA-01950 even though the RESOURCE role is granted to the user in 12c (Doc ID 1900136.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


In Oracle Database 12c,the following error is seen when trying to insert the data into a table,though the RESOURCE role is granted to the user

ORA-01950: no privileges on tablespace <tablespace name>

SQL> create user test identified by oracle123;

User created.

SQL> grant create session,resource,create table to test;

Grant succeeded.

SQL> conn test/oracle123

SQL> create table example(name varchar2(10),num number);

Table created.

SQL> insert into example values('abc',10);
insert into example values('abc',10)
ERROR at line 1:
ORA-01950: no privileges on tablespace 'USERS'



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.