Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Saturday, November 11, 2017

Date Search

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"          ?

No comments: