Advertisement

12.09.2004 at 02:32PM PST, ID: 21237178
[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!

7.6

Select statement wil complicated sort order.

Asked by ddunlea in .NET

Tags:

Hi All,

I need to perform a select on a datatable with a rather complicated ordering. I've already used multiple, comma separated terms for multiple levels of ordering and the program hasn't complained, which is nice. Next of all however, I need to perform a sort based on the difference between two values. I have a column containing integers and I want to order by the closest match to another integer. I'm porting this from a MySQL app which uses:

"ORDER BY ABS(nominal - 10)"

10 is only for illustration, the value varies. I have not been able to find any equivalent to the ABS operator. The documentation mentions +, -, *, / and % as operators, and lists other characters that need to be escaped such as |, & and ^, but gives no indication as to why and what they can be used for if not escaped.

All help greatly appreciated. Thanks in advance.
Start Free Trial
[+][-]12.09.2004 at 02:44PM PST, ID: 12788281

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 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.09.2004 at 02:46PM PST, ID: 12788307

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 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.09.2004 at 02:47PM PST, ID: 12788313

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 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.09.2004 at 02:58PM PST, ID: 12788433

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 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.09.2004 at 09:10PM PST, ID: 12789940

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 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.10.2004 at 01:27AM PST, ID: 12790750

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 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2004 at 12:24PM PST, ID: 12795885

View this solution now by starting your 14-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: .NET
Tags: abs
Sign Up Now!
Solution Provided By: _TAD_
Participating Experts: 3
Solution Grade: A
 
 
[+][-]12.11.2004 at 08:43AM PST, ID: 12800105

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 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.04.2005 at 03:30PM PST, ID: 12957654

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

 
[+][-]01.08.2005 at 10:01AM PST, ID: 12993323

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

 
[+][-]01.12.2005 at 04:42AM PST, ID: 13023213

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

 
 
Loading Advertisement...
20081112-EE-VQP-43