Skip Navigation

Blog Tag:  Solutions

The Hilarious Solution

Add A Comment! »»

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.

Apr 28, 2007 | , , , ,

Today I broke my personal record for 'consecutive days alive!'