SQLServerCentral » Latest topics
Date Search
Hi,
I have in a data row: column [date] 2017-11-06 01:17:34.000
I only want to search for values if the year is 2015. How do I do this?
where [date] like '%2015" ?
I have in a data row: column [date] 2017-11-06 01:17:34.000
I only want to search for values if the year is 2015. How do I do this?
where [date] like '%2015" ?
No comments:
Post a Comment