My Own WTF
Today I was visiting a client site doing some data mining on a third party product that they own. Ultimately we will be building reports off of their data using SQL Reporting Services. Well, as I was going through the tables, I kept seeing date fields that didn't look like a normal date field. Much to my dismay, this third party company (who uses SQL Server 2000 as a back end database) doesn't believe that the SQL DateTime field is appropriate for storing dates. No, instead they use a long integer data type and store the date as YYYYMMDD.
Not to be out-done, they did this for times too... HHMMSS, ohh, and sometimes they combined the 2 fields... YYYYMMDDHHMMSS... is that not a mess or what. So, for us to do any date comparisons for reporting services, we have to build a view and in that view convert those crappy long integer fields into proper date time fields, well except for when their not NULL!