SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

GerardIII
Starting Member

Uruguay
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?
Thanks!
  Previous Topic Topic Next Topic  
 New 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.06 seconds. Powered By: Snitz Forums 2000