Hi,
i want to return a list of concatenated string values into 1 string, from a number of rows in my table.
e.g. i have a table with ID and code, such as:
ID Code
1 AA
2 AB
3 AC
and I want to write 1 SQL statement that returns 1 string value: "AA, AB, AC".
can I do this, without having to write a stored procedure?
i want to return a list of concatenated string values into 1 string, from a number of rows in my table.
e.g. i have a table with ID and code, such as:
ID Code
1 AA
2 AB
3 AC
and I want to write 1 SQL statement that returns 1 string value: "AA, AB, AC".
can I do this, without having to write a stored procedure?