Q&A about the site for developers and end users of the Sitecore CMS and multichannel marketing software
SELECT PostId [Post Link], CreationDate, Text FROM Comments WHERE Text LIKE '%' + ##SearchQuery:string## + '%' and CreationDate BETWEEN '2018-01-01' and '2018-12-31' ORDER BY CreationDate DESC