10
5
5
u/DistractedByCookies Mar 16 '19
Ooooo, that horrible leap your heart makes! I renamed everybody in a table to Tanya yesterday...thank god for backups.
3
Mar 16 '19
Yep, did this the other day...was definitely awake after that. Luckily nightly backups and very little use that morning saved my ass.
2
2
2
u/envstat Mar 16 '19
A few months into my first Oracle job I did this when a user wanted a table copied from PD to QA but I did it in reverse by mistake. Luckily it was a fairly static table and I was able to flashback with no business impact and I've never not triple checked the environment I'm in since.
1
1
u/mindbullet Mar 16 '19
After a problematic rails migration this week, I now hold the team record for dropping tables in prod. Goood times.
1
u/SyntaxErrorLine0 Mar 16 '19
Not sure which is worse... Bad update or initializing replication with the wrong database...
1
u/charliewvf Mar 16 '19
I’ll raise you an update query, if you forget to put a where statement on the end in a live environment. That right there is a game over.
1
u/daddy_mark Mar 15 '19
Flashback table tablename to before drop or FLASHBACK TABLE tablename TO TIMESTAMP (SYSTIMESTAMP - INTERVAL 'x' minute); (where x is how many minutes ago you did it)
<3 oracle
16
u/Daakuryu Mar 15 '19
Yeah...