Results 1 to 2 of 2
-
01-12-2012, 12:44 PM #1
- Join Date
- Apr 2008
- Location
- Boston, USA
- Posts
- 13,175
- Thanks
- 744
- Thanked 699 Times in 550 Posts
- Blog Entries
- 4
- Feedback Score
- 4 (100%)
Full Text Search Error For Search With Space
Full Text Search Error For Search With Space
If you try to make a full text search for a phrase having multiple words and space in between you might bump into this type of error.
For example searching for ROCK CENTER might get you this error:
Syntax error near 'CENTER' in the full-text search condition
Solution:
You need to replace the white space with the % wild character. You can do that on your sql code or on your programming code.
An example for doing it on SQL:
Set @searchKey=REPLACE(@searchKey,' ','%');Free Classified Ads & BUSINESS/PROFESSIONAL SOCIAL NETWORK
-
02-15-2012, 01:43 AM #2
Banned
- Join Date
- Feb 2012
- Posts
- 10
- Thanks
- 0
- Thanked 0 Times in 0 Posts
- Feedback Score
- 0
thanks for ur information..really good
Similar Threads
-
How to Search Stored Procedures Containing a Text - MS SQL
By manik in forum DatabasesReplies: 0Last Post: 04-06-2011, 11:49 AM -
SQL Server encountered error 0x80070218 while communicating with full-text filter daemon host...
By manik in forum DatabasesReplies: 1Last Post: 12-15-2010, 04:41 AM -
How to check if Full Text Search Enabled or Installed - Microsoft SQL2005
By manik in forum DatabasesReplies: 1Last Post: 10-20-2010, 07:27 AM -
Google Search Bug Caused by Human Error
By kakarothusain in forum GoogleReplies: 9Last Post: 02-22-2009, 07:22 PM -
Search engines mainly understand text
By Amit.Verma in forum Search Engine OptimizationReplies: 2Last Post: 12-27-2008, 04:34 AM


Reply With Quote

