Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 901687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:35:43+00:00 2026-05-15T15:35:43+00:00

I have a table (lets say it has one column called ‘colLanguage’) that contains

  • 0

I have a table (lets say it has one column called ‘colLanguage’) that contains a list of skills and has a full text index defined on it. One of the entries in the table is ‘c#’ but when I search for ‘c#’ (using the following SQL) I get no results back.

select *
from
FREETEXTTABLE(tblList, colLanguage, 'c#')

Can anyone help?

Thanks
K

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T15:35:44+00:00Added an answer on May 15, 2026 at 3:35 pm

    My final solution is based on the fact that ‘C#’ is treated differently to ‘c#’. When the letter before the ‘#’ character is upper case the ‘#’ is NOT treated as a word breaking character. Therefore I had to write a script update the table the full-text index was on to change all ‘c#’ into ‘C#’ (I then run this script as a sql job to ensure there isn’t any lover case c#) and ensure when searching that ‘c#’ is changed into ‘C#’ which I did in my code.

    Alternately if you have SQL2008 and can change the full-text language for the fts index you can set it to use the ‘Neutral’ language as the word breaker for the indexed columns. The ‘Neutral’ word breaker only breaks on white text. Then change your fts command to specify the that as the language used e.g. select * from FREETEXTTABLE(tblList, colLanguage, ‘c#’, LANGUAGE 0) you can seach for ‘c#’ or ‘C#’ with no other changes required* apart from rebuilding you indexes.

    *you might need to change the ‘default full-text Language’ for your database instance, I had to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lets say I have a table in MySQL called articles, that has a column
Which is your preference? Let's say we have a generic Product table that has
Lets say I have a table in a sql server 2000 database called TransactionType:
Let's say I have a table that represents a super class, students . And
Lets say I have two tables - child and parent with many-to-one relation. What
Let's say that I want to have a table that logs the date and
Let's say I have two tables one called Customers and one called CustomerAddresses. Then
So, the modern concept of the buddy list: Let's say we have a table
So let's say that I have a database for managing customers. A customer has
Let's say I have DatabaseA with TableA, which has these fields: Id, Name. In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.