Fixed Sybase DateTime2 compatibility issue.