I am trying to create a search for a grantee, currently i am just passing it in as a parameter, but the drawback is that it has to be an exact match. How can I use the LIKE in my WHERE clause so that it looks for the words in the database?
Thanks in advance,
Chris
Code:
SELECT ApplicationID, GrantCountID, GranteeName, ProjectTitle, FundingBlock, StartDate, EndDate, FundingSourceID, PlanningYear FROM dbo.tblApp WHERE (@GranteeName = GranteeName)
Thanks in advance,
Chris