首页 > 数据库 > Oracle > 1Z0-053 V13.02 Q166
SQL> create tablespace fla_tbs1 datafile 'C:\Apps\Oracle\oradata\cow\fla1.dbf' size 10M;
表空间已创建。
SQL> create flashback archive fla1 tablespace fla_tbs1 quota 10M retention 1 year;
闪回档案已创建。
SQL> select flashback_archive_name,status from dba_flashback_archive;
FLASHBACK_ARCHIVE_NAME STATUS
------------------------------ -------
FLA1
SQL> alter table scott.dept flashback archive;
alter table scott.dept flashback archive
*
第 1 行出现错误:
ORA-55608: 默认的闪回归档不存在
SQL> alter flashback archive fla1 set default;
闪回档案已变更。
SQL> select flashback_archive_name,status from dba_flashback_archive;
FLASHBACK_ARCHIVE_NAME STATUS
------------------------------ -------
FLA1 DEFAULT
SQL> alter table scott.dept flashback archive;
表已更改。
注意:设置默认闪回归档后,STATUS列下的DEFAULT,题中STATUS列为空,所以答案A是错误的。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/81227/viewspace-2125721/ ,如需转载,请注明出处,否则将追究法律责任。