Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

Querying multiple words

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cubicle Intern - 29 Feb 2008 18:59 GMT
Hi,

My website's search function looks up entire phrases instead of
individual words.  For example, if I query "Google Groups,"  I would
like my search to come up with everything in my database that has the
words "Google" and "Groups," not just the phrase "Google Groups."  I
would want my search to bring back "Google-tastic Search" or "Group
Compu-Google."  Right now it only brings back "Google Groups #1,"
"Google Group #2," etc.

I'm at a loss at how to begin implementing this change.  Any
suggestions? I'm working with ASP files, Javascript and HTML.  Thanks
in advance for any help.

tyv
Peter Bromberg [C# MVP] - 29 Feb 2008 21:30 GMT
SELECT * FROM myTable where DescriptionColumn LIKE '%google%' OR
DescriptionColumn LIKE '%groups%'

-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net

> Hi,
>
[quoted text clipped - 11 lines]
>
> tyv

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.