Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Joining values into a single varchar string
Message
De
07/03/2003 14:50:32
 
 
À
07/03/2003 14:41:54
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00762903
Message ID:
00762951
Vues:
11
I kind of figured as much. I was just hoping someone might have an idea how to do this.

Thanks anyway.

Don


>It is very very very very hard to do and works best when you have a fixed number of items or at least a maximum number.
>
>In my experience, this type of manipulation is better off being handled by something outside of the database.
>
>-Mike
>
>>I have a parent record with 0-n child records. The child records contain a field that I want to combine all the values into a single comma delimited string. I want to run a SQL7 query that will choose the parent record once and create the comma delimeted string as a field in the result set instead of choosing the parent record repeatedly for each child record. Is there any way to do this with SQL only, i.e.:no stored procedure?
>>
>>Thanks in advance for any help with this.
>>
>>Don
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform