kingbase使用存储过程实现split
create or replace function split_to_string(
IN f_string text,
IN f_delimiter varchar(10)
) returns setof text as
declare cnt int;
declare i int;
declare v_result text;
begin
i := 1;
cnt := length(f_string) - length(replace(f_string,f_d
原创
2021-01-22 14:25:49 ·
566 阅读 ·
0 评论