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

  • SEARCH
  • Home
  • 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 53957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:08:41+00:00 2026-05-10T17:08:41+00:00

I am building a C#/ASP.NET app with an SQL backend. I am on deadline

  • 0

I am building a C#/ASP.NET app with an SQL backend. I am on deadline and finishing up my pages, out of left field one of my designers incorporated a full text search on one of my pages. My ‘searches’ up until this point have been filters, being able to narrow a result set by certain factors and column values.

Being that I’m on deadline (you know 3 hours sleep a night, at the point where I am looking like something the cat ate and threw up), I was expecting this page to be very similar to be others and I’m trying to decide whether or not to make a stink. I have never done a full text search on a page before…. is this a mountain to climb or is there a simple solution?

thank you.

  • 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. 2026-05-10T17:08:41+00:00Added an answer on May 10, 2026 at 5:08 pm

    First off, you need to enabled Full text Searching indexing on the production servers, so if thats not in scope, your not going to want to go with this.

    However, if that’s already ready to go, full text searching is relatively simple.

    T-SQL has 4 predicates used for full text search:

    • FREETEXT
    • FREETEXTTABLE
    • CONTAINS
    • CONTAINSTABLE

    FREETEXT is the simplest, and can be done like this:

    SELECT UserName FROM Tbl_Users WHERE FREETEXT (UserName, 'bob' )  Results:  JimBob Little Bobby Tables 

    FREETEXTTABLE works the same as FreeTEXT, except it returns the results as a table.

    The real power of T-SQL’s full text search comes from the CONTAINS (and CONTAINSTABLE) predicate…This one is huge, so I’ll just paste its usage in:

    CONTAINS     ( { column | * } , '< contains_search_condition >'      )   < contains_search_condition > ::=          { < simple_term >          | < prefix_term >          | < generation_term >          | < proximity_term >          | < weighted_term >          }          | { ( < contains_search_condition > )          { AND | AND NOT | OR } < contains_search_condition > [ ...n ]          }   < simple_term > ::=      word | ' phrase '  < prefix term > ::=      { 'word * ' | 'phrase * ' }  < generation_term > ::=      FORMSOF ( INFLECTIONAL , < simple_term > [ ,...n ] )   < proximity_term > ::=      { < simple_term > | < prefix_term > }      { { NEAR | ~ } { < simple_term > | < prefix_term > } } [ ...n ]   < weighted_term > ::=      ISABOUT          ( { {                  < simple_term >                  | < prefix_term >                  | < generation_term >                  | < proximity_term >                  }              [ WEIGHT ( weight_value ) ]              } [ ,...n ]          )  

    This means you can write queries such as:

    SELECT UserName FROM Tbl_Users WHERE CONTAINS(UserName, ''little*' NEAR tables')  Results:  Little Bobby Tables 

    Good luck 🙂

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

Sidebar

Ask A Question

Stats

  • Questions 101k
  • Answers 101k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You may find JNA useful "JNA provides Java programs easy… May 11, 2026 at 8:01 pm
  • Editorial Team
    Editorial Team added an answer @Azam - This is related to your other post which… May 11, 2026 at 8:01 pm
  • Editorial Team
    Editorial Team added an answer Use a different color space: http://en.wikipedia.org/wiki/HSL_color_space May 11, 2026 at 8:01 pm

Related Questions

I am a solo dev building a WinForm App, C# & .Net 3.5, in
I am making an app (asp.net/c#) that will autosuggest a couple fields that users
I'm thinking of building a small web app using the MVC framework as a
I am looking into building an authentication in my ASP.NET application with the following

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.