According to this documentation page, the use of FORMSOF where you are using it (in the freetext_string parameter) seems not to be allowed. What makes you think this should work?
Multiple quotation marks in a SQL Server stored procedure for use with FREETEXT/FORMSOF
-
01-07-2022 - |
Domanda
I have been looking at this query snippet for awhile, thinking that I have the single quotes matched properly, but I keep getting blank result sets. Am I missing something here? I'm trying to find inflected versions of parametrized keyword phrases.
set @query = @query + 'AND (FREETEXT (ExampleTable.*, ''FORMSOF(INFLECTIONAL,"' + @keyword + '")'')'
Appreciate any insight. Hopefully it's just a dumb mistake on my part...
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow