<p>For instance, my query is like the following using SQL Server 2005:</p>

<pre><code>SELECT * FROM Table WHERE FREETEXT(SearchField, 'c#') 
</code></pre>

<p>I have a full text index defined to use the column SearchField which returns results when using:</p>

<pre><code>SELECT * FROM Table WHERE SearchField LIKE '%c#%'
</code></pre>

<p>I believe # is a special letter, so how do I allow FREETEXT to work correctly for the query above?</p>

[{'answer_id': 1047, 'author': 'Ishmaeel', 'author_id': 227, 'author_profile': 'https://Stackoverflow.com/users/227', 'pm_score': 1, 'selected': False, 'text': '<p>Quoting a much-replicated help page about Indexing Service query language:</p>\n\n<blockquote>\n  <p>To use specially treated characters such as &amp;, |, ^, #, @, $, (, ), in a query, enclose your query in quotation marks (“).</p>\n</blockquote>\n\n<p>As far as I know, full text search in <code>MSSQL</code> is also done by the Indexing Service, so this might help.</p>\n'}, {'answer_id': 1061, 'author': 'Jarrod Dixon', 'author_id': 3, 'author_profile': 'https://Stackoverflow.com/users/3', 'pm_score': 5, 'selected': True, 'text': '<p>The # char is indexed as punctuation and therefore ignored, so it looks like we\'ll remove the letter C from our word indexing ignore lists.</p>\n\n<p>Tested it locally after doing that and rebuilding the indexes and I get results!</p>\n\n<p>Looking at using a different word breaker language on the indexed column, so that those special characters aren\'t ignored.</p>\n\n<p>EDIT: I also found <a href="http://www.simple-talk.com/sql/learn-sql-server/sql-server-full-text-search-language-features/" rel="noreferrer">this information</a>:</p>\n\n<blockquote>\n  <p>c# is indexed as c (if c is not in your noise word list, see more on noise word lists later), but C# is indexed as C# (in SQL 2005 and SQL 2000 running on Win2003 regardless if C or c is in your noise word list). It is not only C# that is stored as C#, but any capital letter followed by #. Conversely, c++ ( and any other lower-cased letter followed by a ++) is indexed as c (regardless of whether c is in your noise word list).</p>\n</blockquote>\n'}]
['https://Stackoverflow.com/questions/1042', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2/']