Saturday, May 03, 2008

I'm About To Break...

someone's database. I bought My cat SQL cat food at my local PetSmart and it apparently qualified for an $8 Science Diet OnLine coupon. As some of you know, my little buddy was dropped off with his two brothers in a cardboard box at the Humane Shelter. The workers there then did not have a specific date for his birth, and said I could make up one. Realizing that the worker would have to enter this date into some database, in my coy way, I coy way I told her February 29, 2006 a date that doesn't actually exist. Apparently the developer of the database application didn't check the date entered for validity, and the date took. I was amused. Fast forward to a couple of weeks ago, I bought the aforementioned cat food with qualifying coupon, and the online rebate form is asking for my cat's DOB as well as my cat's name.
Now my cat's name is also amusing in that SQL is an acronym for Structured Query Language which is used to manipulate data in computer databases. However, it is also a keyword in Microsoft's ODBC function calls. Microsoft state that you should "Consider avoiding the use of these words as identifiers" due to their possible use as keywords in future versions of SQL Server. So my entries as observed in the picture, may cause a database somewhere to blow up. That means that I broke someone else's code today and I'm happy that it wasn't mine, as mine seems to break, in some form or another, and most often during demos. :-D


1 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home