Home Forums SQL Server 2016 SQL Server 2016 - Development and T-SQL Optimize a LIKE '%text%' query RE: Optimize a LIKE '%text%' query
Y.B.
SSChampion
Points: 11645
More actions
November 9, 2018 at 7:05 am
#2012957
Well the leading wildcard in that LIKE clause will guarantee it will have to do full scans. Something LIKE 'text%' is fine though. I guess it comes down to your requirements.