sql 处理以字符隔开的字符串(类似split)的处理方法. CREATE PROCEDURE dbo.Vip_SendMails @userids varchar(MAX), ), ), @c varchar(MAX), ) AS BEGIN ) begin insert into VipMail (fromwho,towho,subject,content) ,),@subject,@c) ,charindex(@split,@userids),'') end END GO --调用 注意:…