I have some code that runs exactly as I want it to, however when I change the date from 'December 2012' to 'May 13' (This is exactly how it is stored in the data) I get this error message:Msg 241, Level 16, State 1, Line 1Conversion failed when converting date and/or time from character string.Warning: Null value is eliminated by an aggregate or other SET operation.