有这样一个需求: 临时表sql: create table #AA ( ID int, Name nvarchar(20) ) insert #AA select 1,'苏州/上海/温州' union all select 2,'南京' union all select 3,'北京/连云港' 方法: with hh as (select ID, Name=cast(left(Name,charindex() )), Split=cast(stuff(Name+,charindex()) from