The question from Janardhana Babu Donga yesterday about how to recreate a dropped package/procedure/function made me think about something else. Imagine the following scenario:
There is some commercial off-the-shelf (COTS) software package running against my database. The software package uses sequences. Someone drops a sequence by mistake and later on jobs start failing right and left. I don't know exactly how the sequence is used so I don't know what start value to create it with if I did recreate it myself.
I guess I would have to do a point-in-time recovery in another location until just before the sequence was dropped, but that seems like a lot of work for just a sequence. Are there any more clever ways?
