This is in continuation to my Previous Query
DDL
CREATE TABLE [dbo].[t](
[words] [varchar](1000) NULL,
[id] [int] IDENTITY(1,1) NOT NULL
) ON [PRIMARY]
DML
insert into t(words)values('this is my laptop')
insert into t(words)values('this does not contains heqadphone')
These two inserts are iterated 250 times...
SQL Queries - 1
SELECT * FROM
t as t
JOIN CONTAINSTABLE(t, words,'"*heqadphone"') fulltextSearch
ON
t.[Id] = fulltextSearch.[KEY]
SQL Query - 2
Select * from t where words like '%heqadphone%'
Confusions
Normally we are advised to not use double %% as stated in my later query. But After checking the SQL Profiler Reads and Duration
Query 1 shows more reads/duration . Click the below link to see details
SQL Profiler Reads and Duration for Query - 1
Query 2 shows less reads/duration . Click the below link to see details
SQL Profiler Reads and Duration for Query - 2
Can you confirm, Ideally which query can be good to use?