摘要: 分隔字符串:CREATE DEFINER = root `@`%` FUNCTION `fun_string_split`(IN_IDS longText,IN_FIELD VARCHAR(64),IN_SPLIT VARCHAR(2))RETERNS LONGTEXTBEGIN DECLARE OUT_STRING LONGTEXT; DECLARE TMP_NEW_STRING LONGTEXT; SET TMP_FIND_POS = INSTR(IN_IDS,IN_SPLIT); IF(TMP_FIND_POS > 0) THEN SET OUT_STR... 阅读全文
posted @ 2013-04-26 14:38 欧西 阅读(189) 评论(0) 推荐(0) 编辑