Advertisement

12.06.2004 at 09:32AM PST, ID: 21232085
[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!

8.0

CFMX + SQL Display multiple records as one row

Asked by nido in ColdFusion Application Server

Tags: , , , ,

I am using SQL Server 2000 and ColdFusionMX. I have a query that returns several records per user (the database is not relational), one of the fields contains different information depending on the type stored in another field. Can you tell me how to display all the fields as one record. The query is run via coldfusion as I need to pass in a list of userids and use the IN clause so this makes it tricky to use a stored proc. Format is shown below :

Query :
ID        Name          group_name           group_type
1         JSmith         Katherines              3
1         JSmith         London                   2
1         JSmith         User                       1
2         ABrown       Bedales                   3
2         ABrown       London                    2
3         JBloggs       Bedales                   3

Groups:
1 - User type, 2 - Region, 3 - school

Output :
Name              School                Region              User Type
JSmith             Katherines          London              User
ABrown           Bedales              London
JBloggs           Bedales

thanks in advance
Start Free Trial
[+][-]12.06.2004 at 09:43AM PST, ID: 12756256

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.

 
[+][-]12.06.2004 at 09:44AM PST, ID: 12756262

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: ColdFusion Application Server
Tags: one, row, multiple, sql, records
Sign Up Now!
Solution Provided By: shooksm
Participating Experts: 3
Solution Grade: A
 
 
[+][-]12.06.2004 at 09:46AM PST, ID: 12756289

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.

 
[+][-]12.06.2004 at 09:47AM PST, ID: 12756295

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.

 
[+][-]12.06.2004 at 09:52AM PST, ID: 12756337

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.

 
[+][-]12.06.2004 at 09:53AM PST, ID: 12756346

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.

 
[+][-]12.06.2004 at 09:57AM PST, ID: 12756384

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.

 
[+][-]12.06.2004 at 10:05AM PST, ID: 12756479

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.

 
[+][-]12.06.2004 at 12:55PM PST, ID: 12758130

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.

 
[+][-]12.07.2004 at 01:51AM PST, ID: 12762111

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.

 
[+][-]01.14.2005 at 10:16AM PST, ID: 13046959

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

 
[+][-]01.25.2005 at 01:27PM PST, ID: 13136714

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

 
[+][-]01.29.2005 at 03:31AM PST, ID: 13170978

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

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