摘要:
CREATE FUNCTION [dbo].[SplitString] ( -- Add the parameters for the function here @SplitString nvarchar(max), @Separator nvarchar(10)='') RETURNS @result table ( [Id] int, [Text] nvarchar(500) ) AS Begin DECLARE @CurrentIndex int; DECLARE @NextIndex int; DECLARE @ReturnText nvarchar(500); SE 阅读全文