General information
Forum:
Microsoft SQL Server
Title:
Full-Text Index Query
Hi All,
I am trying to build a smart query builder for my ASP/SQL application that is using a full-text index. I am using CONTAINSTABLE for all the queries so I can use the rank.
Q: Without making the SQL statement dynamic in the database, what is the best to get all the results based on any search condition the user may pose?
Q: Would it be best to write a stored procedure for each type of possibility and call that SP based on the users query?
For example:
SP 1: "free email"
SP 2: ISABOUT("free email" weight(1), free weight(.2), email weight(.1))
SP 3: "free email" OR "free NEAR email"
Thanks for any tips...
Mike
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only