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

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Full text

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-04-09 : 09:28:53
Rodrigo writes "Hi this is my first post in the forum

I have enabled the full text search in a table with 600.000 lines and than I populate the catalog (the catalog has 14Mb).
Now the problem:
If I use a query like this - Select * from table where fieldx like "%xxxx%" - the sql server return the result in 9 seconds.

If I use a query like this - Select * from table where contains(fieldx,"xxxx") - the sql server return the result in 18 seconds.
All the querys tha I use "like" command is faster then the command contains. Why?
I don't know what to do!
Please help me!!
Thanks"
   

- Advertisement -