问题描述:
想查看数据的归档模式,使用了archive log list语句,但是提示是无效的SQL语句。在PL/SQL的SQL窗口和COMMAND窗口下均是这样。
解决:
PL/SQL不支持这种命令!必须在sqlplus中运行!如下:
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\Administrator>sqlplus sys/oracle@orcll as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on 星期三 11月 13 16:03:27 2013
Copyright (c) 1982, 2011, Oracle.
连接到:
Personal Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> archive log list
数据库日志模式
自动存档
存档终点
最早的联机日志序列
当前日志序列
SQL>