ho un problema con una query che eseguo in mysql ... nel vecchio server eseguivo una query particolare per gestire un menu del sito :
" set session group_concat_max_len = 4294967295 ; update `trnm7_hikashop_field` set `field_value` = concat('Nessuna::Nessuna::0','\n',(SELECT GROUP_CONCAT(DISTINCT(CONCAT(adimen ,'::',adimen ,'::0')) order by adimen ASC separator '\n') FROM `trnm7_hikashop_product` )) where `field_namekey` = 'adimen'"
ho notato però che la stessa query nel server che avevo prima funzionava .. ovvero mi estraeva i dati in formato DISTINCT mentre adesso mi da tutti i risultati .. magari voi sapete il perchè ? magari c'è qualche incompatibilità di versione ?


Rispondi quotando