MySQL and GROUP_CONCAT() maximum length
Posted
by zewaren
on Stack Overflow
See other posts from Stack Overflow
or by zewaren
Published on 2010-04-02T13:59:20Z
Indexed on
2010/04/02
14:03 UTC
Read the original article
Hit count: 907
mysql
|group-concat
Hello everyone, I'm using GROUP_CONCAT() in a MySQL query to convert multiple rows into a single string. However, the maximum length of the result of this function is 1024 characters.
I'm very well aware that I can change the param group_concat_max_len to increase this limit:
SET SESSION group_concat_max_len = 1000000;
However, on the server I'm using, I can't change any param. Not by using the preceding query and not by editing any configuration file.
So my question is: Is there any other way to get the output of a multiple row query into a single string?
Thank you for your answers.
© Stack Overflow or respective owner