Win search results with FTS above it with LIKE on indexed columns?

Subquestioning SQL Server 2005 full-text search

Will using FTS (full-text search) be faster than searching with tsql LIKE on indexed columns?

Why?
And how many?

+2
source share
3 answers

yes FTS will be faster for searches in the middle of the column, for example, it will only be faster if what you are looking for is at the beginning of the column

where lastname like 'S%'

will be fast

where lastname like '%S%'

, ,

+3

, , , , FTS , LIKE . , , LIKE "% rate%" "overrated", FTS "rate" .

, SQLMenace .

+1

, , ...

"CONTAINS (Transact-SQL). SQL Server 2008 R2" :

  • " LIKE

    * LIKETransact-SQL .
    , LIKE .

    , LIKE , .

    LIKE ; , * "

0

Source: https://habr.com/ru/post/1767168/


All Articles