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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

restore/recover database

Status
Not open for further replies.

dbstudent

Programmer
Feb 14, 2006
26
US
I backed up my database using the controlfile instead of the recovery catalog.I created two tables, call them A and B.I executed some INSERT and UPDATE commands on these two tables. Then i executed a DELETE command in table B. I tried to restore/recover the database to a point in time before the delete. The restore and recover run with no errors:

RESTORE DATABASE UNTIL TIME "TO_DATE('25/02/2005 20:30:34','DD/MM/YYYY HH24:MI:SS')";

RECOVER DATABASE UNTIL TIME "TO_DATE('25/02/2005 20:30:34','DD/MM/YYYY HH24:MI:SS')";

But when i query the tables, i get the first insert made on tables A and totally nothing from table B(the table is empty). What am i doing wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top