この方法で試してみませんか
declare @Prefix2Include as Varchar(500) SELECT @Prefix2Include = Prefix2Include FROM dbo.vw_PrefixToInclude select * from dbo.fnSplit(@Prefix2Include , ',')
プレ>更新
Select * From @t v Where v.EmpPrefix IN (select * from dbo.fnSplit(@Prefix2Include, ','))
プレ>