sqlserver分隔符截取
select
LEFT(filed,charindex(',',field,1)-1) as type,
SUBSTRING(filed,34,CHARINDEX(',',filed+',',1)-1)
from table where id = 'sdfdsfsfds'
select
LEFT(filed,charindex(',',field,1)-1) as type,
SUBSTRING(filed,34,CHARINDEX(',',filed+',',1)-1)
from table where id = 'sdfdsfsfds'