Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: how can see my database is in pfile or spfile mode ?
If your database contain both the files "TOM(asktom)" solution will
help you
sys_at_ORA920.US.ORACLE.COM> select decode(count(*), 1, 'spfile', 'pfile'
)
2 from v$spparameter
3 where rownum=1
4 and isspecified='TRUE'
5 /
DECODE
isspecified is TRUE for some settings in the spfile file.
Carlos wrote:
> sql> show parameter spfile
>
> or
>
> sql> select * from V$parameter where name='spfile';
>
> If there is a value there, you are using a spfile.
>
> HTH.
>
> Cheers.
>
> Carlos.
Received on Fri Mar 24 2006 - 05:33:41 CST