Advertisement

03.07.2005 at 11:23AM PST, ID: 21341024
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.2

Complex queries using double quotes

Asked by Gyftus in MySQL Server

Tags: , ,

Hello All

I am trying to figure out how create/provide a mechanism where my user can use double quotes to define which part of his/her queries will match exactly and which are not. The reason I am asking in this forums is because the only part that is consistent is the MySql db, the language is irrelevant. Answers can be given in pseudo code, or in any of the following java, php

Assume that I have a table with one field called 'description' and the table is called 'items' for the example sake. Also I have a form with a single text box which will be used to query this table.

The following inputs will result -> in the following queries

"aaaa" -> Will search for an EXACT match of the word "aaaa" in the description
"aaaa" bbb -> Will search for an EXACT match of "aaaa" AND any match of %bbb%
"aaaa bbbb" ccc-> Will search for an EXACT match of "aaaa bbbb" AND any match of ccc
"aaaa" "bbbb" -> Will serach for and EXACT match of "aaaa" OR "bbbb"

So forth and so on, you catch my drift in that the combination are inumerable, and I can't think of every thing the user is going to type, nor I want to restrict them. At the moment I am asking only about double quotes, but how about +,-,? ~ characters in the query

Anyways I am looking for an optimum way to do this, that is why I am giving 500 points. Please don't provide answers where I have to code each case, because I have 5 such fields in the form. Note- I will ask follow up questions

Thank you in advanceStart Free Trial
[+][-]03.07.2005 at 04:12PM PST, ID: 13482316

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.08.2005 at 01:19AM PST, ID: 13484477

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.08.2005 at 01:20AM PST, ID: 13484478

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.08.2005 at 02:05PM PST, ID: 13490846

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.08.2005 at 02:06PM PST, ID: 13490861

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.08.2005 at 11:07PM PST, ID: 13493595

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.09.2005 at 04:02AM PST, ID: 13494894

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MySQL Server
Tags: mysql, complex, query
Sign Up Now!
Solution Provided By: tromm
Participating Experts: 3
Solution Grade: B
 
 
[+][-]03.09.2005 at 04:43AM PST, ID: 13495118

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.16.2005 at 02:32PM PST, ID: 13560332

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.16.2005 at 02:36PM PST, ID: 13560381

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42