Reply to comment

Chaines tronquées avec la fonction GROUP_CONCAT

la fonction group_concat de MySQL permet de concaténer des chaines séparés en utilisant un séparateur :

GROUP_CONCAT([DISTINCT] expr [,expr ...]
             [ORDER BY {unsigned_integer | col_name | formula} [ASC | DESC] [,col ...]]
             [SEPARATOR str_val])

Mais il arrive dans certains cas quand la taille de la chaine dépasse la taille par défaut spécifiée par MySQL d'avoir des chaine tronquées. Dans ce cas il faudrait utiliser

SET [GLOBAL | SESSION] group_concat_max_len = val;

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Mollom CAPTCHA (play audio CAPTCHA)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated.