)) ) AS BEGIN ), ), ) SET @count = Len(@url) SET @urlReturn = '' WHILE (@i <= @count) BEGIN ) IF @c LIKE '[!%]' ESCAPE '!' BEGIN , ) , ) LIKE '[0-9]' , ) as int) , ))) as int) + , ) LIKE '[0-9]' , ) as int) , ))) as int) END) SET @urlReturn = @urlRet…