摘要: Create function [dbo].[split](@SourceSql varchar(max),@StrSeprate varchar(10))returns @temp table(line varchar(max))asbegin declare @i int set @SourceSql = rtrim(ltrim(@SourceSql)) set @i = charindex(@StrSeprate,@SourceSql) while @i >= 1 begin if len(left(@SourceSql,@i-1))>0 ... 阅读全文
posted @ 2014-01-03 11:14 JasonGu0 阅读(174) 评论(0) 推荐(0) 编辑