I have a lot of users asking me to build simple search forms at work so that users can more easily find reports based on various categories. Lately, a lot of them have been asking for keyword searches, and I’ve been struggling with a good way to implement this.
Recently I found the SQL Server function called FREETEXTTABLE that allows a pretty decent keyword search, and even allows you to search multiple columns in a table. The only hitch I can find is that it doesn’t recognize things like AND and OR. There’s another function called CONTAINSTABLE that supposedly does, but I’m having trouble building a query that works using that.
Has anyone used either of these for keyword searches, and if so, what works best?