What is the meaning of int is not incompatible with date?
this error pop out when i tried to update a date in vb.net,anyone have any idea on this?
2 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 attend4days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Aug 10, 2015, 7:56 PM EDT
Hi,
Generally this error because of you try to insert an int value to the date column.
make sure your inserted date is compatible with date time format of SQL
And also put single quote (') before and end of the date.
Ex.
Insert into (id, created_date) values(3, '2015-03-14')
hope this will help you.
Mohammed IbrahimRank #685 · 3.5K reputationPosted Aug 10, 2015, 8:20 PM EDT