Quote:
quote:
select * from test order by no1,no2
|
No, that's not what the OP asked for.
Actually, the only way to do this in a supported and well defined way is to use a cursor (ugh). The operation is called "string aggregation" and there are ways to accomplish this, it's just that most of them cannot guarantee that the aggregation will always result in the same output, or rather, the same same
order of the output (sub)strings.
Refer to this topic:
http://p2p.wrox.com/topic.asp?TOPIC_ID=6611
Jeff Mason
Custom Apps, Inc.
www.custom-apps.com