The Hilarious Solution
Earlier this week at work I was entering some data into the 'rules' table. I needed a related record ID from the 'delivery' table but I didn't want to worry about figuring out what data it needs ('delivery' has about 20 fields).
On a whim, I tried this:
mysql> insert into delivery set id = 0;
I thought the query would fail. Instead the response was:
Query OK, 1 row affected, 7 warnings (0.00 sec)
Seven warnings?! That made me laugh out loud. But hey! The row got inserted and I could move on. Sometimes the hilarious solution to a problem is the best solution.
Trackback: http://philsown.org/2007/05/the-hilarious-solution/trackback
How to Put Your Face Next to Your Comment