Correct syntax for this Contains statement

  • I want to search a table alias doc, column name Result, where doc.Result is full text indexed, using Contains, and I want to find where there is the term BSA and a % sign (percent sign, literally) within 5 words of each other.

    Do I have to escape the % sign like [%] ?  that seems to come back wrong syntax

    This returns zero results but that may be accurate, not sure.  the [%] returns syntax error

    where contains(doc.Result,'NEAR((BSA, %), 5)')
  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply