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 last published in June 2007

Dig Deeper on Oracle database design and architecture

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close