Q

ALTER USER command not working

I used the ALTER USER command to restrict a user not to use a table. I got the message "system altered" but the user can still create the table.

Hi Brian, when I used the following command:
ALTER USER scott QUOTA 0 ON system;
to restrict a user not to use a table, I got the message "system altered" but the user can still create the table. Can you explain the reason for this?
The user has probably been granted the UNLIMITED TABLESPACE system privilege which overrides the quota setting. Revoke this from the user as follows:
REVOKE unlimited tablespace FROM scott;
The user should no longer be able to create tables in that tablespace.
This was first published in June 2007

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close