I have an arraylist contains Id, ListId's values Listid's is a string contains multiple values with separated by comma like (101, 10,11,12,13). I want store this values into my table. How would i achieve this.
insert into CompanyBillableAsset(Id, ListId)
values(@Id, set @listId = select ListId from List where ListId in (select SplitValue from dbo.xf_StrSplit(@str, ',')))