Re: Combine multiple records into single row
- From: "Jason Lepack" <jlepack@xxxxxxxxx>
- Date: 29 Mar 2007 10:15:09 -0700
Examples:
http://builder.com.com/5100-6388_14-6143761.html
PIVOT will only work if you have SQL SERVER 2005 otherwise you will
use the CASE method.
On Mar 29, 12:43 pm, "franzey" <fran...@xxxxxxxxx> wrote:
This is how the data is organized:
vID Answer
12 Satisfied
12 Marketing
12 Yes
15 Dissatisfied
15 Technology
15 No
32 Strongly Dissatisfied
32 Marketing
32 Yes
What I need to do is pull a recordset which each vID is a single row
and each of the answers is a different field in the row so it looks
something like this
vID Answer1 Answer2 Answer3
12 Saitsfied Marketing Yes
etc...
I can't quite get my mind wrapped around this one.
.
- Follow-Ups:
- Re: Combine multiple records into single row
- From: franzey
- Re: Combine multiple records into single row
- References:
- Combine multiple records into single row
- From: franzey
- Combine multiple records into single row
- Prev by Date: Combine multiple records into single row
- Next by Date: Re: Combine multiple records into single row
- Previous by thread: Combine multiple records into single row
- Next by thread: Re: Combine multiple records into single row
- Index(es):