Posted by Ed Murphy on 01/08/07 02:18
parth wrote:
> I want to achieve the following transformation of data using a stored
> procedure.
>
>
> Source
>
> col1 col2(varchar)
> -------------------------
> 1 1.1
> 1 1.2
> 2 2.1
> 2 2.2
> 2 2.3
> =================
>
> Desired Result
>
> col1 col2(varchar)
> --------------------------
> 1 1.1 | 1.2
> 2 2.1 | 2.2 | 2.3
> =====================
Eww. Are you sure you can't do this in the application layer? (It
would be simple in Crystal Reports, for instance.)
Navigation:
[Reply to this message]
|