Home » RDBMS Server » Server Administration » Revert back database from current sequenct to previous sequence
Revert back database from current sequenct to previous sequence [message #63698] Thu, 28 October 2004 23:55 Go to next message
Man Mohan Sharma
Messages: 35
Registered: October 2003
Member
Suppose my dataabse has curent sequence no 2000. I want it to back my dataabse to 1234. can we revert back my database oracle 9i Rel 2 database from current sequence no. to desired previous sequence no. if yes pls let me know.
what is the method ?
Pls. be noted that i am not interested to recover my backup datafiles and make command
sql>Revocer database until change 1234;
Re: Revert back database from current sequenct to previous sequence [message #63701 is a reply to message #63698] Fri, 29 October 2004 06:02 Go to previous messageGo to next message
croK
Messages: 170
Registered: April 2002
Senior Member
I'm sorry but i don't understand, it is not clear for me. Are you talking about oracle sequences?, if so, drop your sequence and recreate it starting from 1234.

If not, then what sequence are you talking about?, SCN?....
only way to take database to previous SCN is restoring from backup and make poin it time recovery until SCN=1234.

best luck...
Re: Revert back database from current sequenct to previous sequence [message #63709 is a reply to message #63701] Sun, 31 October 2004 01:39 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
Do you want your complete db restored to SCN 1234 or do you just want 1 statement to see the previous state of your db.
If so, search OTN for flashback query.

hth
Re: Revert back database from current sequenct to previous sequence [message #63713 is a reply to message #63701] Sun, 31 October 2004 23:40 Go to previous messageGo to next message
Man Mohan Sharma
Messages: 35
Registered: October 2003
Member
Ya i ma talikg about SCN only.
Is there any method to go back to previous SCN without resoring of backup datafiles.
Re: Revert back database from current sequenct to previous sequence [message #63714 is a reply to message #63709] Sun, 31 October 2004 23:44 Go to previous messageGo to next message
Man Mohan Sharma
Messages: 35
Registered: October 2003
Member
ya I can see the previous image of my database from flashback qery with some limitations. but cant go back to previous SCN if there already advanced SCN.
Re: Revert back database from current sequenct to previous sequence [message #63716 is a reply to message #63714] Mon, 01 November 2004 00:00 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
Sure you can. What's the point of flashback queries when they don't work if the SCN advanced ?!
Re: Revert back database from current sequenct to previous sequence [message #63723 is a reply to message #63716] Mon, 01 November 2004 22:57 Go to previous message
Man Mohan Sharma
Messages: 35
Registered: October 2003
Member
Dear Mr. Frank,
can u give me your mail ids
my mail ids is manmohan73@yahoo.com
Previous Topic: Connectivity Problems
Next Topic: Oracle Export problem
Goto Forum:
  


Current Time: Fri Sep 27 06:26:19 CDT 2024