I have a table:
WID WName
2 Looking for Data
6 What data is here
7 Nothing
8 Here we go again
I created a full-text directory in the WName column.
When i use:
SELECT * FROM Workspace WHERE CONTAINS (WorkspaceName, ' "data* here*" ')
SELECT * FROM Workspace WHERE FREETEXT (WorkspaceName, 'data*')
SELECT * FROM Workspace WHERE FREETEXT (WorkspaceName, 'here*')
SELECT * FROM Workspace WHERE FREETEXT (WorkspaceName, '*ere*')
SELECT * FROM Workspace WHERE FREETEXT (WorkspaceName, 'here')
SELECT * FROM Workspace WHERE FREETEXT (WorkspaceName, 'data')
These are not the results that I expected.
I want to be able to: If I had a color column with values
red
blue
blueberry
yellow, blue
I want to use the search for "red blue" and return all the above lines.
Is it possible?
source
share