I'm not sure how to get the right syntax, here is what I'm trying to do: I need to search on @JobNote using the LIKE keyword@JobNote as nvarcharasset @NoteDate = datediff(day, '19000101', @notedate)select cast(jobnoteevent.note as char(500))from dbo.jobnoteeventinner join event on event.eventguid = jobnoteevent.eventguidinner join batch on batch.batchguid = event.batchguidinner join job on job.jobguid = event.jobguidinner join item on item.itemguid = event.itemguid and jobnoteevent.note like @JobNote%