Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Full Text Search


Full Text Search

Author
Message
suresh0534
suresh0534
Valued Member
Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)

Group: General Forum Members
Points: 63 Visits: 344
I have one table in sql server say example
Table Name: candidates

Test table contains some columns

cid , cname,c_resume these are the columns
cid in Int ,cname is nvarchar(50), c_resume is text Data Type.

I am Storing candidates resume in c_resume text filed.

I have 10000 rows in table.

If i search c++ resume it will showing the result of c++ and also it showing the resume other than c++

if i search c++11 also it giving the results.

if i search c++1 it not showing any results(Zero Results).

I have written Query like this:

select * from candidates WHERE contains(c_resume_text,'C++') -It shwoing c++ and also other than c++ results.

select * from candidates WHERE contains(c_resume_text,'C++11') -It showing results.

select * from candidates WHERE contains(c_resume_text,'C++1') -It showing Zero results.

Why the above 2 and 3rd showing different results?

in c_resume_text filed there is no word c++11 , but we have c++ word.

I am not understanding the above results? why ?what is happening?


Please help me,

How can i sove the problem,

Thanks,
Ivan Mohapatra
Ivan Mohapatra
SSC-Enthusiastic
SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)

Group: General Forum Members
Points: 125 Visits: 495
Dude try like in the where condition
suresh0534
suresh0534
Valued Member
Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)

Group: General Forum Members
Points: 63 Visits: 344
Hi Ivan Mohapatra,

I tried in Where Condition It self..

Thanks,
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search