hello all, i have table contain two column id and word .
word column may contain one word or two or three ex ( computer , computer software , computer software computer )
i want search the text if it contain any word in that table .
thank you .
hello all, i have table contain two column id and word .
word column may contain one word or two or three ex ( computer , computer software , computer software computer )
i want search the text if it contain any word in that table .
thank you .
If it is small amount of text, you can use "like" with "%" e.g "select * from tableX where word like '%computer%'"
Optionally:
Better still for larger tables
Like this
SELECT
ID
FROM
Mytable M
JOIN
SearchTable S On M.Word LIKE '%' + S.SearchWord + '%'