Using a legacy database, I have pulled tables into sql server. There is a date field and a time field, both are decimal(8). I would like to somehow concatenate them into a datetime column. I can convert the date field easily enough.
The time field has been recorded in military time, not decimal time, so 1750 would be 5:50 pm and not 5:30 pm.
The recorded format for the date field is ex: 20050130
for jan 30, 2005, and the format for the time would be ex: 1750 or 810. I can easily enough add a zero to the three digit times in a character field for the sake of conversion.
ex: 810 becomes 0810.
Any help would be appreciate.
Dobe
The time field has been recorded in military time, not decimal time, so 1750 would be 5:50 pm and not 5:30 pm.
The recorded format for the date field is ex: 20050130
for jan 30, 2005, and the format for the time would be ex: 1750 or 810. I can easily enough add a zero to the three digit times in a character field for the sake of conversion.
ex: 810 becomes 0810.
Any help would be appreciate.
Dobe