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
 Other SQL Server 2008 Topics
 Erro 30052 - Full-text query has a very complex
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rafael_santos_zenite
Starting Member

Brazil
2 Posts

Posted - 06/14/2012 :  15:55:25  Show Profile  Reply with Quote
Hi,

This is my query:

SELECT * FROM TABLE1 AB INNER JOIN TABLE2 AN ON N.id_anotacao_base = AB.id_anotacao_base INNER JOIN CONTAINSTABLE(TABLE1, *, 'word1 NEAR world2... NEAR wordN') AS C ON AB.key = C.[KEY]

This returns me:

"The full-text query has a very complex NEAR clause in the CONTAINS predicate or CONTAINSTABLE function. To ensure that a NEAR clause runs successfully, use only six or fewer terms. Modify the query to simplify the condition by removing prefixes or repeated terms."

There is another solution to put more than six terms, using NEAR?

Edited by - rafael_santos_zenite on 06/15/2012 07:51:09

kabon
Starting Member

Indonesia
40 Posts

Posted - 06/18/2012 :  23:51:20  Show Profile  Reply with Quote
maybe you can used inner join just like this, for example :

USE AdventureWorks2008R2;
GO
SELECT *
FROM HumanResources.Employee AS e
INNER JOIN Person.Person AS p
ON e.BusinessEntityID = p.BusinessEntityID
ORDER BY p.LastName
Go to Top of Page
  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.72 seconds. Powered By: Snitz Forums 2000