Advertisement

04.17.2008 at 09:17PM PDT, ID: 23333231
[x]
Attachment Details

I need some advice on how to eliminate a bunch of characters in a search in order to get the right order.

Asked by brihol44 in MySQL

Tags: MySQL

Below is an example of a query I'm pulling based off of product name. In my query I order by product name. As you can see it's ordering it fine but by the numbers first. Any ideas on how I can eliminate a string of characters in my search so it orders correctly?

1,2-Bis(2-aminophenoxy)ethane-N,N,N',N'-tetraacetic acid
1,2-Bis(2-Aminophenoxy)ethane-N,N,N',N'-tetraacetic acid
1,2-Bis-(1-Pyrenedecanoyl)-sn-glycero-3-phosphocholine
1,2-Diamino-4,5-dimethoxybenzene, dihydrochloride [DDB]
1,2-Dipalmitoyl-sn-glycero-3-phosphoethanolamine [DPPE]
1,3-Bis-(1-pyrene)propane [BPP]
1,3-Di(cis-9-octadecenoyl)-2-((6-(7
1,4-Dibenzyloxy-2-nitrobenzene
1,5-Dimethyl-2-(4-dimethylaminophenyl)benzothiazole, chloride

Thanks,

BStart Free Trial
[+][-]04.17.2008 at 09:38PM PDT, ID: 21383345

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
Tags: MySQL
Sign Up Now!
Solution Provided By: ee_rlee
Participating Experts: 3
Solution Grade: A
 
 
[+][-]04.17.2008 at 09:39PM PDT, ID: 21383347

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.

 
[+][-]04.17.2008 at 10:08PM PDT, ID: 21383431

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.

 
[+][-]04.18.2008 at 04:12AM PDT, ID: 21384750

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]04.18.2008 at 07:14AM PDT, ID: 21385940

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]04.18.2008 at 08:10AM PDT, ID: 21386467

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.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628