Click here to Skip to main content
15,881,516 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i having a datatable which contain date like 27-05-2013...
i can get data from table by searching with date..
now i want to check monthly 05-2013..
how can i do such a checking.

WHERE YEAR(DateColumn)=2013 AND MONTH(DateColumn)=05

This may be help you
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900