Buongiorno, quella qui sotto è una porzione di una query piuttosto lunga che ho scritto
La query funziona bene. L'unico problema è che concatenando delle colonne e righe con dei separatori, la striunga finale viene spezzata a 255 caratteri.codice:select distinct group_concat( x separator '~' ) as conc, nk from ( select concat_ws( '|', if( length(title) is null,'',title ), if( length(subtitle) is null,'',subtitle ), if( length(introtext) is null,'',introtext ), if( length(imagepath) is null,'',imagepath ), if( length(link) is null,'',link ), if( length(link_display) is null,'',link_display ) ) as x, namekey as nk from managers m inner join managers_to_ss t on ( m.namekey = t.managers_namekey ) inner join ss s on ( t.ss_id = s.id ) where s.published = 1 and s.flagdirectory &2 ) as video_inner2 group by nk
Per allungare il campo ho provato anche con cast( field as char(9999) ) ma senza successo.
Qualcuno sa dirmi come ottenere un campo più lungo?? :master:

Rispondi quotando
