1

Please execute the query below against SQL Server.

SELECT display_term FROM sys.dm_fts_parser('1980s', 1033, 0, 0)

The result is:

+--------------+
| display_term |
+--------------+
| 1980s        |
+--------------+

And now execute the query below against SQL Server.

SELECT display_term FROM sys.dm_fts_parser('1980S', 1033, 0, 0)

The result is:

+--------------+
| display_term |
+--------------+
| 1980s        |
+--------------+
| nn1980s      |
+--------------+

As you can see, there is only a difference between the two queries. In the first query, the query_string parameter is 1980s ('s' is lowercase) and in the second query the query_string parameter is 1980S ('s' is uppercase).

Why the result for these queries is different?

My SQL Server Version is: Microsoft SQL Server 2017 (RTM) - 14.0.1000.169 (X64)

0 Answers0