Chris Carey wrote:
> My last DOH moment was when writing some SQL statements and I forgot
> the WHERE clause ...
> 
> DELETE FROM billing;
> 
> instead of
> 
> DELETE FROM billing WHERE id=123;

Use the --i-am-a-dummy flag:
http://dev.mysql.com/doc/refman/5.0/en/safe-updates.html

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to