Does the GROUP_CONCAT() MySQL function have equivalent in MS SQL 200x and possibly PL/SQL?

Posted on 2009-04-15
Last Modified: 2013-12-07
Hi experts, I've been monitoring the following question:
and I would like to know what is the equivalent of GROUP_CONCAT in other SQL dialects?

TIA for your answers.

It seems I'll install MySQL because it has many useful features :-)
Question by:pcelba
    LVL 142

    Accepted Solution

    oracle: check out for stragg:

    sql server: check out for the xml method:
    LVL 41

    Author Closing Comment

    It seems you have large library of solutions. Thanks!

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Join & Write a Comment

    I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that useā€¦
    This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
    This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
    This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now