Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 CONTAINSTABLE performance with "1-1" searches
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 11/12/2012 :  08:50:43  Show Profile  Reply with Quote
Hi, I am using a query with the containstable function, with a string search like this: "1-1" or similar
The issue is that the query takes way too long and doesnt bring many results.
Instead the same query, but with other search string like "a" which retrieve much more results, take much less time to complete.
this is the query:

select count(d.DocumentID)from KnowledgeIndex_Data.dbo.Document d
INNER JOIN CONTAINSTABLE ( KnowledgeIndex_Data.dbo.Document , * , '"1-1"' ) ftt ON ( d.DocumentID = ftt.[Key] )

Do you know what could be going on?
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000