alter system with scope=both
96429May 29 2003 — edited Feb 15 2005Hi,
I am trying to enable automatic log archiving at instance start up. I have tried to use the "scope=both" parameter to change both the current session and have it also update the spfile. I tried using this command:
alter system archive log start to 'C:\oracle\ora92\database\dbname\archive' SCOPE=spfile;
However it give me an error at the keyword SCOPE saying:
ERROR at line 1:
ORA-00933: SQL command not properly ended
Any ideas on how to do this or do I have to export the spfile to a pfile, make the changes there and then create the pfile from the spfile ?
Thanks in advance,
Ned