我尝试了以下命令,但我仍然可以在appts上插入表格。为什么呢?
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.
答案 0 :(得分:1)
如何使用ALTER TABLESPACE使其只读?你可以输入:
ALTER TABLESPACE APPTS READ ONLY