摘要:
set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER function [dbo].[ecvv_split](@c varchar(max),@split varchar(2)) returns @t table(col varchar(500)) as begin while(charindex(@split,@c)<>0) begin insert @t(col) values (substring(@c,1,charindex(@split,@c)-1)) set @c = stuff(@c,1,charindex(@split.. 阅读全文