ORA-01950: no privileges on tablespace ‘USERS’


Grant user the privileges

Example

SQL> conn anar/pwd
Connected.

SQL> create table testing (name varchar2(10));
create table testing (name varchar2(10))
*
ERROR at line 1:
ORA-01950: no privileges on tablespace 'USERS'

Solution:

SQL> conn / as sysdba
Connected.


SQL> ALTER USER anar QUOTA 10M ON users

User altered.

OR

SQL> ALTER USER anar QUOTA UNLIMITED ON USERS;
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: