@date varchar(50)='14-9-2017-18-10-58'
How to check if @date is valid Datetime in Sql server
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
Zakir AhamedRank #1,545 · 1K reputationPosted Sep 14, 2017, 11:01 PM EDT
Zakir AhamedRank #1,545 · 1K reputationPosted Sep 14, 2017, 11:07 PM EDT
JohnRank #2,322 · 608 reputationPosted Sep 14, 2017, 11:13 PM EDT
Gautam ParmarRank #2,471 · 568 reputationPosted Sep 18, 2017, 10:50 AM EDT