SQL> alter system set log_archive_dest_1='/oracle/product/9.2.0/arch' scope= spfile;
alter system set log_archive_dest_1='/oracle/product/9.2.0/arch' scope= spfile
* 第 1 行出現錯誤:
ORA-32017: failure in updating SPFILE
ORA-16179: incremental changes to "log_archive_dest_1" not allowed with SPFILE
原因是少了LOCATION或SERVICE關鍵字
SQL> alter system set log_archive_dest_1='location=/oracle/product/9.2.0/arch' scope=spfile;
系統已更改。