Unsetting v$parameter values

A simple question that I often get asked is “When using an SPFILE, how do I unset a parameter?”.  Often, the person asking the question has tried to set the parameter to an empty string (”) or NULL, both of which result in an error.

The answer is simple:

ALTER SYSTEM RESET <parameter_name> SCOPE=SPFILE;

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: