How To Turn On or Off Recycle Bin for the Instance?

Submitted by: Administrator
You can turn on or off the recycle bin feature for an instance in the instance parameter file with "recyclebin=on/off". You can also turn on or off the recycle bin feature on the running instance with a SQL*Plus command, if you log in as SYSTEM. See the following example:

SQL> connect SYSTEM/globalguideline
Connected.

SQL> SHOW PARAMETERS RECYCLEBIN
<pre>NAME TYPE VALUE
------------------------------------ ----------- -------
recyclebin string on</pre>
SQL> ALTER SYSTEM SET RECYCLEBIN = OFF;
System altered.

SQL> SHOW PARAMETERS RECYCLEBIN
<pre>NAME TYPE VALUE
------------------------------------ ----------- -------
recyclebin string OFF</pre>
Warning: Turning off the recycle bin feature will give your users hard times on recovering dropped tables.
Submitted by: Administrator

Read Online Oracle Database Job Interview Questions And Answers