Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Search: Cannot find search text by partial wordsSearch: Cannot find search text by partial words
Previous
 
Next
New Post
3/23/2009 1:30 PM
 

Hi,

I'm using DNN 5.0.0.1.

Whenever I enter something i.e. partial or a complete word in search I don't get any results.

How can I resolve this.

I was following the posts and was curious whether you guys could help me out.

I don't know sql programming.

 
New Post
3/23/2009 4:28 PM
 

eck two wrote

Instead of:

AND (sw.Word like @Word)

in your stored procedure, use

AND (sw.Word like '%' + @Word + '%")

then you don't need to add the extra symbol in the search input and it would be what you were expecting.

Eck two - very well done! it works!
Only you've had a typo: should have been a single quotation mark.
So this is the right solution:

Instead of:

AND (sw.Word like @Word)

in your stored procedure, use

AND (sw.Word like '%' + @Word + '%')

 

 

 
New Post
7/16/2012 8:29 AM
 

Thanks, that really helped. I had to use this to get it to work:

AND (sw.Word like '%' +  @Word + '%')

I have no idea why this isn't the default.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Search: Cannot find search text by partial wordsSearch: Cannot find search text by partial words


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out