codice: update tabella set campoB = trim(substring_index(campoA,'-',1)), campoC = trim(substring_index(campoA,'-',-1))
update tabella set campoB = trim(substring_index(campoA,'-',1)), campoC = trim(substring_index(campoA,'-',-1))
Regole del Forum