I'm cycling through a list using the code below. Is there any way to improve this code or is this the most efficient way?
DECLARE @list varchar(30);
DECLARE @element varchar(30);
DECLARE @d char(1);
DECLARE @x INT;
SET @d = ',';
SET @list = 'hello,world,out,there';
SET @list = @list + @d...