Re: Simple Cursor
- From: Jimbo <jamesferris@xxxxxxxxxxx>
- Date: 26 Apr 2007 15:22:42 -0700
ok heres what Im trying to do....Im trying to flatten a record
set...so say case number 07 has orders 1 and 3 associated with
it....if you do a select youll get.
case number order number
----------------- --------------------
07 1
07 3
I want to use a cursor so I can concatenate the order number field and
return
case number order numbers order count
------------------ --------------------- -----------------
07 1, 3 2
I can only think to do this with a cursor....if you know another way
Im all ears
-Jim
.
- Follow-Ups:
- Re: Simple Cursor
- From: Frank van Bortel
- Re: Simple Cursor
- From: DA Morgan
- Re: Simple Cursor
- References:
- Simple Cursor
- From: Jimbo
- Re: Simple Cursor
- From: Frank van Bortel
- Simple Cursor
- Prev by Date: Re: Simple Cursor
- Next by Date: Re: Pre-approved Labor available with us
- Previous by thread: Re: Simple Cursor
- Next by thread: Re: Simple Cursor
- Index(es):
Relevant Pages
|