首页 > 其他 > 详细

053 第561题

时间:2015-07-14 11:29:34      阅读:242      评论:0      收藏:0      [点我收藏+]
561.If you issue the command shutdown abort prior to trying to put the database in ARCHIVELOG mode,
what will be the result when you issue the command alter database archivelog?
A. The alter database archivelog command will fail.
B. The alter database archivelog inconsistent command must be used to put the database in
ARCHIVELOG mode.
C. The alter database archivelog command will succeed.
D. The alter database archivelog command will ask if you want to make the database consistent first.
E. There is no alter database archivelog command. The correct command is alter database alterlogging.
Answer: A


实验验证如下:

SQL> shutdown abort;
ORACLE 例程已经关闭。
SQL> startup mount;
ORACLE 例程已经启动。


Total System Global Area 1071333376 bytes
Fixed Size                  1375792 bytes
Variable Size             738197968 bytes
Database Buffers          327155712 bytes
Redo Buffers                4603904 bytes
数据库装载完毕。
SQL> alter database archievelog;
alter database archievelog
                         *
第 1 行出现错误:
ORA-02231: ALTER DATABASE 选项缺失或无效




SQL> alter database archivelog;
alter database archivelog
*
第 1 行出现错误:
ORA-00265: 要求实例恢复, 无法设置 ARCHIVELOG 模式

版权声明:本文为博主原创文章,未经博主允许不得转载。

053 第561题

原文:http://blog.csdn.net/adeline_pan/article/details/46874313

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!