|
Anyone knows can we restore a database table which was deleted if we have a new table created with the same name. If possible how to do this ? is there any special syntax for this ? Thanks in advance.
(comments are locked)
|
|
If your database has the RECYCLEBIN option enabled, you can easily restore a dropped table. Try the following command in SQL*Plus:
If you have the recyclebin enabled, you will see the dropped tables with their original name and their recyclebin name (starts with BIN$). You can then query the dropped table with normal SQL (but you may need to quote the name):
You can also restore it (and optionally rename it) with:
or Excellent..its working for me. Thank you for your quick reply.
Dec 22 '09 at 01:09 PM
OraLearner
"show recyclebin;" yields "SHOW is not supported." How does one enable support for SHOW?
Jan 22 '10 at 05:44 PM
KillerDBA
@KillerDBA Are you using the command line SQL*Plus or another tool (e.g. iSQLPlus or SQL Developer)? As far as I know, "show" is a built-in command for SQL*Plus, so should just work.
Jan 26 '10 at 05:48 AM
Andrew Mobbs
(comments are locked)
|
|
Please refer the answer posted by 'Andrew Mobbs' which is working like gem.
(comments are locked)
|
|
is it working for SQL also? if it is not usefull for sql then tell me the solution for sql
(comments are locked)
|

