It only gets one value back is it possible to get multiple values inside? Like get test, test1 and test2.
CodePudding user response:
Looking at each of the three fully visible example rows:
- ID=25 No match, because
IsDeleted
is1
- ID=26 Match. This is the row you see in the results.
- ID=27 NO MATCH, because
Contains()
matches full words by default. This meanstest2
does not match theContains( 'test')
predicate.
Therefore the single row observed in the results is correct.
I know the full-words thing can surprise people, but it really is what you want more often then not. For example, if you search for Contains( 'Kansas')
you don't usually want records for Arkansas
.