Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to insert a value into 'utl_file_dir'_ 1

Status
Not open for further replies.

marrow

Technical User
Jul 20, 2001
425
US
show parameter utl" displays null value
NAME TYPE VALUE
------------------------------------ ----------- ---------
utl_file_dir string

I have specified the directory FLATFILE in spfilexxx.
Isn't spfile dynamic? I also restarted database

*.utl_file_dir='/directorya/FLATFILE'

How can I add the directory value?
 

UTL_FILE_DIR is not a dynamic parameter, you need to change it in the pfile (initXXX.ora) and re-start database:

In SQL*Plus do:

create pfile from spfile;
shutdown immediate;
-- Change/Add UTL_FILE_DIR
startup pfile=$ORACLE_HOME/dbs/initXXX.ora
create spfile from pfile.
[noevil]



----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Thanks LKBrwnDDBA,

I thought that the spfilexxxx.ora replaced init.ora so do I need to touch init.ora?
 

Yes, spfile replaced init.ora, except when you need to change non-dynamic parameters, you need to follow the instructions I posted. [shadeshappy]


----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
I will let you know LKBrwnDDBA, thanks again.
 
Thanks for your help LKBrwnDDBA, all working OK.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top