4 ms·
drop schema if exists * Doesn't start with select; you never have to write sql again; you're probably fired
by ineedasername 7y ago
drop schema if exists *
Doesn't start with select; you never have to write sql again;
you're probably fired
- hirako2000 7y agoI did this, on a very very large set of DBs.The boss moved me to the backup team.
- OJFord 7y agoHopefully not before restore!
- ineedasername 7y agoI didn't drop a schema, but I did, um, accidentally get over aggressive with a merge-purge duplicate process. By which I mean that I merged every single record, all of them, into a single record. I was very fortunate, we had backups and restoring went smoothly, and my boss very calmly asked me one thing: "did you learn from this?" I assured him that I had.