• By the way, if you are converting MoYear to a datetime value, you really should store it in a datetime column, not back as a character string.