Reputation: 31
I tried the following commands,but i can still insert into the table on appts. Why?
MICHAEL@orcl@SQL> alter user michael quota 0M on appts;
User altered.
MICHAEL@orcl@SQL> select tablespace_name,max_bytes from user_ts_quotas;
TABLESPACE_NAME , MAX_BYTES
------------------------------,----------------
APPTS , 0
MICHAEL@orcl@SQL> select tablespace_name,table_name from user_tables;
TABLESPACE_NAME ,TABLE_NAME
------------------------------,------------------------------
APPTS ,TEST_D
....
MICHAEL@orcl@SQL> insert into test_d values(292,'Test',500,2100);
1 row created.
Upvotes: 3
Views: 136
Reputation: 23
What about using ALTER TABLESPACE to make it read only? You could enter:
ALTER TABLESPACE APPTS READ ONLY
Upvotes: 1