摘要:
编辑器加载中... SELECT dbo.ContionsInters('2,3,1,33',333)>0select * from [split]('1,2,3',',')--创建函数 ,处理 字符串是否包含,指定的字符alter FUNCTION [dbo].ContionsInters ( @ids NVARCHAR(1024) ,@Targetid INT )RETURNS intASbeginDECLARE @count INT SELECT @count= COUNT(*) FROM split(@ids,',' 阅读全文