Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-Server
My Description column values as below
 
Description:
1)operation method and communication system thereof
2)Method and system for zone-based capacity control
 
There are two values in description field.
If i give the values are method and system using near operator in sql server 2008 it will display result as "operation method and communication system thereof"...
 
Can you please help me?
Posted 4-Jan-13 1:50am
gunaaa521
Comments
gunaaa at 4-Jan-13 8:05am
   
My query as below
 
SELECT FT_TBL.Description FROM Test AS FT_TBL
INNER JOIN CONTAINSTABLE (Test, Description, '(method NEAR system)', 2) AS KEY_TBL ON FT_TBL.ID = KEY_TBL.[KEY];
 
it returns both description values but i want to return the values as "operation method and communication system thereof"
 
Can you please help me?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 375
1 Gihan Liyanage 338
2 Vinay Mistry 160
3 Sergey Alexandrovich Kryukov 130
4 syed shanu 125
0 Sergey Alexandrovich Kryukov 9,021
1 OriginalGriff 7,941
2 CPallini 2,603
3 Richard MacCutchan 2,121
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 4 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100