SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO --DEClARE @str varchar(500)='a,b2,v5,d3,ew,2,3,dd' --select [dbo].[split](@str,',',8) CREATE FUNCTION [dbo].[split] (),),@no int ) ) AS BEGIN declare @intLen int declare @count int declare @indexb int…