Reset the parameter to the default value in Oracle

Reset the default value of parameters in spfile of the Oracle

Reset command for the parameter in Oracle

ALTER SYSTEM RESET parameter_name scope = memory/spfile/both sid=’*’;

Following are example to reset the default value of parameters in Oracle

SQL> show parameter cursor_sharing

NAME                                 TYPE        VALUE
------------------------------------ ----------- -------------------------
cursor_sharing                       string      EXACT

SQL> alter system set cursor_sharing=force scope=both;

System altered.

SQL> alter system reset cursor_sharing scope=both;

System altered.

SQL> show parameter cursor_sharing

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------
cursor_sharing                       string      EXACT
This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

Leave a Reply