quota of tablespace

Sir,
a user has "connect" and "resource" privileges by the DBA. The allocated quota on three tablespaces by the DBA
 Default Tablespace Quota 500 M
Tablespace first Quota 100 M
Tablespace second Quota 200 M
my   user trying to make a table which uses 300 M in tablespace second. Will he be successful?
dbaseekAsked:
Who is Participating?
 
Shaju KumbalathConnect With a Mentor Deputy General Manager - ITCommented:
when u give resource role , user get  quata unlimited on tablespaces
0
 
Shaju KumbalathDeputy General Manager - ITCommented:
so the table will be created successfully
0
 
hqassapCommented:
Since you grant the Resource Role to the user, he will get the Unlimited Tablespace privilege by default then the user will be able to create the 300 MB table on the 200 MB granted Tablespace.
To resolve this issue, you have to only revoke the unlimited Tablespace privilege and leave the other granted privileges and roles by executing the following command as DBA user:

SQLPLUS> revoke unlimited tablespace from <Username>;
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.