Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I 'sum' character strings in a simple way ?
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00785310
Message ID:
00785514
Views:
12
Thanks. It is a table with 50000 records. I know that I can do it quickly in VFP. Because the task seems quite simple I hoped that I can do it in an easy way in T-SQL.

>There's nothing built into TSQL to do this. If you're not dealing with a ton of data, it'll probably be easier to handle iteratively outside the database.
>
>-Mike
>
>>I have a table like this (on SQLServer) ?
>>
>>field1 (int) field2 (char)
>>1 aaa
>>1 bbbb
>>2 ccccc
>>2 bb
>>2 dd
>>2 hh
>>
>>How to get such results using T-SQL statment ?
>>
>>field1 'sum' of field2
>>1 aaa bbbb
>>2 ccccc bb dd hh
>>
>>
>>Thanks in advance
Previous
Reply
Map
View

Click here to load this message in the networking platform