摘要:
ALTER FUNCTION [dbo].[Split](@InputStr nvarchar(max),@SplitBy nvarchar(20))RETURNS @tmpTable TABLE( ID int IDENTITY PRIMARY KEY, value nvarchar(max) )ASBEGINDECLARE @Text nvarchar(max)DECLARE @iCount_InputStr intDECLARE @ilength_InputStr intDECLARE @SplitStrLength intSET @SplitStrLength = LEN(@Spl.. 阅读全文