Hi,
I want to compare int month with - database datetime columns.Need Your help.There are datetime column.I want to compare them with datetime.month from textbox.
Thanks in advance.
Loading
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.
Anil KumarPosted Jun 4, 2012, 7:06 AM
SELECT MONTH(myFieldNameWithDateTimeDataType) FROM myTabeName