2011-11-30 00:00:00.000
Argument data type datetime is invalid for argument 1 of substring function.
DATEPART(mm,date)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)