October 19, 2012 at 6:54 am
I have a table with string column called keywords
please find the sample data
IDKeyWords
1abc efg
22hig klm nop
3qrs tuv wxy z
And i have input string as follows
@IP ='I am finding difficult abc efg and please help 2hig klm nop z thanks'
In the string 'abc efg' and '2hig klm nop' getting matched with the keywords column value.
eventhoug in the string 'z' is there but it is not completly not matching with column value.
So i need only two records ie
ID Keywords
1abc efg
22hig klm nop
I tried with full text queries but not able to find the solution
Please suggest the solution with any approach
Thanks in advance.
October 19, 2012 at 7:08 am
Read about the SUBSTRING function or the LIKE operator. Either of those should give you what you require.
John
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply