Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ORA-01950: no privileges on tablespace 'USERS' [closed]

I'm getting this error:

ORA-01950: no privileges on tablespace 'USERS'

I have a default tablespace and I'm able to create tables, however, they do not show at the objects tab in Toad. I cannot insert anything into tables I create.

like image 778
sam Avatar asked Feb 10 '14 07:02

sam


People also ask

How do I grant unlimited tablespace users?

To permit a user to use an unlimited amount of any tablespace in the database, grant the user the UNLIMITED TABLESPACE system privilege. This overrides all explicit tablespace quotas for the user. If you later revoke the privilege, then you must explicitly grant quotas to individual tablespaces.


1 Answers

You cannot insert data because you have a quota of 0 on the tablespace. To fix this, run

ALTER USER <user> quota unlimited on <tablespace name>; 

or

ALTER USER <user> quota 100M on <tablespace name>; 

as a DBA user (depending on how much space you need / want to grant).

like image 58
Frank Schmitt Avatar answered Sep 22 '22 08:09

Frank Schmitt