DECLARE @User VARCHAR(200) SET @User = '1,3' declare @roleID int set @roleid=2 insert into userrole values((Select * from dbo.CSVToTable(@User) as UserID ,@roleID)
declare @roleID int
set @roleid=2
set @roleID=2
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)