我有一个简单的表格类别
Id int identity not null
Name nvarchar(100) not null
Id Name
1 Bundesliga
2 La liga
3 Primeira Liga
我在 Name 上定义了一个全文索引并尝试以下 2 个查询
select c.id, c.name from category c
where contains(c.name,'"liga"')
select c.id, c.name from category c
where contains(c.name,'"*liga*"')
它只返回 2,3(西甲和联赛),德甲从结果中删除。
我那里有错吗?