I'm running SQL Server 2005, Win Server 2003 SP2.
I've edited the noise words txt files at Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\FTData (noiseENU.txt, noiseENG.txt, and noiseNEU.txt) to remove numbers (0-9). And I've rebuilt and deleted/recreated my indexes without any seeing any changes in the search results.
I need to search for records using a name that includes numbers. For example: "ABC12345", "ABC12346", "ABC12347", "ABCDEF", "12-345-654", "ABC-12F" etc.
However, whenever I use the FULLTEXT search (or CONTAINS), I don't get any results.
Example:
SELECT * FROM CONTAINSTABLE(myTable, myField, 'ABC123');
SELECT * FROM FREETEXTTABLE(myTable, myField, 'ABC123');
There are 0 results from both of the above searches.
When I use LIKE, then I will get results. For example:
SELECT * FROM myTable where myField LIKE '%ABC123%';
Is this possible? If so, what changes do I need to make to my catalogs, indexes, tables, etc.
Thanks
I've edited the noise words txt files at Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\FTData (noiseENU.txt, noiseENG.txt, and noiseNEU.txt) to remove numbers (0-9). And I've rebuilt and deleted/recreated my indexes without any seeing any changes in the search results.
I need to search for records using a name that includes numbers. For example: "ABC12345", "ABC12346", "ABC12347", "ABCDEF", "12-345-654", "ABC-12F" etc.
However, whenever I use the FULLTEXT search (or CONTAINS), I don't get any results.
Example:
SELECT * FROM CONTAINSTABLE(myTable, myField, 'ABC123');
SELECT * FROM FREETEXTTABLE(myTable, myField, 'ABC123');
There are 0 results from both of the above searches.
When I use LIKE, then I will get results. For example:
SELECT * FROM myTable where myField LIKE '%ABC123%';
Thanks