mysql没有split函数,这里手动写一个: ),)) BEGIN CREATE TEMPORARY TABLE IF NOT EXISTS temp_split ( col ) ); DELETE FROM temp_split; ) DO ,instr(c1,split1))); ,instr(c1,split1),''); END WHILE; insert temp_split(col) values (c1); END; 调用时也很简单: call sp_split('abcd,dd