Monday, January 18, 2010

Creating spfile/pfile from memory

Now we can even create a spfile/pfile from memory. It is a new feature in the 11g. Prior to 11g, we were able to create spfile from pfile or pfile from spfile.


Syntax:

CREATE SPFILE FROM MEMORY;
CREATE PFILE FROM MEMORY;


Examples:

SYS@orcl11g>CREATE SPFILE='D:\backup\ORCL11G\spfile_bkp_18Jan2010.ora' FROM MEMORY;

File created.

SYS@orcl11g>CREATE PFILE='D:\backup\ORCL11G\pfile_bkp_18Jan2010.ora' FROM MEMORY;

File created.

SYS@orcl11g>

1 comment:

Oracle DBA said...

This is an 11g New feature, i posted some of the 11g NEW FEATURES in my blog may be this is useful to the readers :

http://chandu208.blogspot.com/2011/08/11g-new-features.html