/****** Object: UserDefinedFunction [dbo].[splitstring_to_table] Script Date: 2017/7/11 9:35:58 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER FUNCTION [dbo].[splitstring_to_table] ( @string NVARCHAR(MAX),--需要分割的支付如: ‘1,2,3,4’ @delimi…