We have table with a Body (NVARCHAR(MAX)) column that contains text from emails and files. The column is full-text indexed.
Some of the documents contain reference numbers such as 00123. However the full-text engine seems to strip leading zeros so when we search using CONTAINS(Body, '00123')
it also returns false positives containing just 123.
Is there anyway to fix this? Ideally there would be a way to address this in the query, but we would also consider other options such as alternative word breakers etc.
We are using SQL Server 2008 R2 and later.