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 581953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:38:05+00:00 2026-05-13T14:38:05+00:00

We have table with several full text indexed fields. Say, it is firstName, surName

  • 0

We have table with several full text indexed fields. Say, it is firstName, surName and lastName. I’m looking for “John AND Smith” and obviously these two words most likely will be written in different fields. Query returns nothing. If I search for “John OR Smith” it is working.

The question is: can I somehow tell SQL Server that all fields belonging to one row of specific table should be treated as one continuous text fragment?

Of course, I can concat fields manually to special field and index it, but it looks quite silly.

Just in case, the query. It’s not about person’s name, but idea is the same:

SELECT [id], [type], [accessClass], [rank] 
FROM ( 
SELECT DISTINCT temp_result.* 
FROM ( 
    select SDF_Article.article_id [id], 
    6 [type], SDF_Object.accessClass [accessClass], RelevanceTable.[rank] [rank] 
    from SDF_Article inner join SDF_Object SDF_Object 
    on SDF_Article.article_id=SDF_Object.object_id 
    inner join SDF_Article_Locale SDF_Article_Locale 
    on SDF_Article.article_id=SDF_Article_Locale.article 
    inner join ContainsTable(SDF_Article_Locale, (title, body, brief),
    'FORMSOF (INFLECTIONAL, hello) AND FORMSOF (INFLECTIONAL, world)', Language 'Russian') RelevanceTable 
    on SDF_Article_Locale.entry_id=RelevanceTable.[KEY] 
    ) AS temp_result 
INNER JOIN SDF_RelationMap SDF_Map 
ON temp_result.[id] = SDF_Map.object AND SDF_Map.ancestor = 5 ) 
AS result ORDER BY [rank] desc

We are using SQL Server 2005.

  • 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-13T14:38:05+00:00Added an answer on May 13, 2026 at 2:38 pm

    It turns out that there is no support for this in SQL Server. Even more, such behavior was “fixed” in 2004:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;294809

    I added suggestion in MS Connect. Please support:
    https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=526862

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

Sidebar

Related Questions

I have several table related to multilingual Photo Galley like AlbumCategories AlbumName Photos PhotoDetails
I have a table with several employees. They have the following columns empid,datecolumn1,is_valid. Very
Requirements : I have a table of several thousand questions. Users can view these
I have table A and table B with Table A having several columns including
I currently have a Table [org.eclipse.swt.widgets.Table] with several TableColumns; however, due to UI space
Weird to describe but here goes. I have a table with several rows. One
I have a table which has several one to many relationships with other tables.
I have several pages to do with several table on each page. I've got
We have a table T which contains a several char(8) columns (implicitly) which under
I have a table called scheduler_sched which has several columns, including a column called

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.