代码如下:call PROCEDURE_split(‘分享,代码,片段’,’,’);select * from splittable;
代码如下:drop PROCEDURE if exists procedure_split;CREATE PROCEDURE `procedure_split`( inputstring varchar(1000), delim char(1))begin declare strlen int DEFAULT length(inputstring); declare last_index int DEFAULT 0; decla
1