Sql 2005 error,datatype error
SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sharad GuptaRank #111 · 20K reputationPosted Jul 11, 2013, 4:34 AM EDT
What you put the datetime out of this range
"January 1, 1753, through December 31, 9999."
MANEESH AN110 reputationPosted Jul 11, 2013, 4:54 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 11, 2013, 6:52 AM EDT
Please validate the input date range before inserting into sql.
Regards,
Iftikar