nyccrystal
MIS
I have a file of approximately a million records that was imported from a mainframe file. I'm trying to convert a field that's in a format like 20070530 - ie, YYYYMMDD, in order to be able to do date calculations on it. I don't care how it looks, I just care if internally it's a real datetime field. I'm trying to insert it into a new file using CONVERT(datetime,date_billed,101), but I keep getting a math overflow error. Is this because of the number of records, or what? The record length is only 50 characters.