SQL SERVER 字符串分割用substring
declare @InpS nvarchar(max)='ACP,LeasingIndividualUsedCarNonCertified' select @InpS,len(@InpS),charindex(',',@InpS),substring(@InpS,charindex(',',@InpS)+1,len(@InpS))
当你的才华不能撑起你的野心时,就是你该选择学习的时候了!
declare @InpS nvarchar(max)='ACP,LeasingIndividualUsedCarNonCertified' select @InpS,len(@InpS),charindex(',',@InpS),substring(@InpS,charindex(',',@InpS)+1,len(@InpS))