SAP Knowledge Base Article - Preview

2719282 - How to simulate the LIST aggregate function -ASE

Symptom

  • Need to concatenate string values from multiple rows in a table
  • SQL Anywhere and IQ have a LIST() aggregate function, ASE does not
  • Oracle has an (apparently undocumented, unsupported?) function named wm_concat(), what is the equivalent in ASE?


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE)  all versions
  • SAP Adaptive Server Enterprise Cluster Edition (ASE CE) all versions

Product

SAP Adaptive Server Enterprise 12.5 ; SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 15.7 Cluster Edition ; SAP Adaptive Server Enterprise 16.0 ; Sybase Adaptive Server Enterprise 12.5 ; Sybase Adaptive Server Enterprise 15.0 ; Sybase Adaptive Server Enterprise 15.5 ; Sybase Adaptive Server Enterprise Cluster Edition 15.0 ; Sybase Adaptive Server Enterprise Cluster Edition 15.5 ; Sybase Adaptive Server Enterprise Cluster Edition 15.7

Keywords

Sybase, aggregate, group, LIST, concatenate, wm_concat , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.