select LEFT(filed,charindex(',',field,1)-1) as type,SUBSTRING(filed,34,CHARINDEX(',',filed+',',1)-1) from table where id = 'sdfdsfsfds'