sqldatetime overflow exception
SQL DATETIME OVERFLOW EXCEPTION?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Jul 5, 2013, 7:34 AM
Regards,
Iftikar
Sanjeeb LenkaPosted Jul 5, 2013, 7:14 AM
Iftikar HussainPosted Jul 5, 2013, 7:04 AM
The SQL Datetime range is 1/1/1753 12:00:00 AM to 12/31/9999 11:59:59 PM
You can validate datetime before inserting into db as like below
Regards,
Iftikar
MANEESH ANPosted Jul 5, 2013, 7:01 AM
Sanjeeb LenkaPosted Jul 5, 2013, 6:56 AM