Ask the Expert

ALTER USER command not working

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?

    Requires Free Membership to View

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

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: