MeltdownMX
IS-IT--Management
Hi,
We have this text file with Date/Time information in the format of 050401172100.
050401172100 Meaning:
05 - Year 2005
04 - Month April
01 - Day The 1st
17 - 24 Hour time 5p.m.
21 - Minutes 5:21p.m.
00 - Seconds 5:21:00 p.m.
We have been trying to figure out how to successfully import this into SQL and have failed miserably every time.
Sometimes we get "Arithmetic overflow error converting expression to data type datetime."
What format does SQL want the DateTime string of text to be in so that it can be successfully converted? Thanks a lot.
We have this text file with Date/Time information in the format of 050401172100.
050401172100 Meaning:
05 - Year 2005
04 - Month April
01 - Day The 1st
17 - 24 Hour time 5p.m.
21 - Minutes 5:21p.m.
00 - Seconds 5:21:00 p.m.
We have been trying to figure out how to successfully import this into SQL and have failed miserably every time.
Sometimes we get "Arithmetic overflow error converting expression to data type datetime."
What format does SQL want the DateTime string of text to be in so that it can be successfully converted? Thanks a lot.