Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server 数字无效的Sql Server 2008 R2全文搜索查询_Sql Server_Sql Server 2008 R2 - Fatal编程技术网

Sql server 数字无效的Sql Server 2008 R2全文搜索查询

Sql server 数字无效的Sql Server 2008 R2全文搜索查询,sql-server,sql-server-2008-r2,Sql Server,Sql Server 2008 R2,我在SQL Server 2008 R2 Express实例中设置了一个数据库。我们启用了全文支持。其中一个表“Employees”是全文索引的。还有一列“地址”也被编入了索引 该列的值如下:“Los Angeles 9” 当我们通过以下方式查询时: Select * from Employees Contains (Address, '"Los Ang*"')) Select * from Employees Contains (Address, '"Los Angeles 9*"'))

我在SQL Server 2008 R2 Express实例中设置了一个数据库。我们启用了全文支持。其中一个表“Employees”是全文索引的。还有一列“地址”也被编入了索引

该列的值如下:“Los Angeles 9”

当我们通过以下方式查询时:

Select * from Employees Contains (Address, '"Los Ang*"'))
Select * from Employees Contains (Address, '"Los Angeles 9*"'))
它正确地获取行

但当我们通过以下方式进行查询时:

Select * from Employees Contains (Address, '"Los Ang*"'))
Select * from Employees Contains (Address, '"Los Angeles 9*"'))
什么也没拿

 Select * from Employees Contains (Address, '"Los Angeles*" AND "9"'))
也没有

我在数据库的存储部分添加了一个新的停止列表,并且只添加了一个粗略的停止项,因此排除了从索引中删除数字

但即使在这之后,上述查询也毫无结果。 然后,我加载了系统默认的停止列表,从中删除了0到9的数字,再次运行了人口统计。 仍然没有提取任何内容

还有什么事情要做吗?? 请告知