Just something like this?
declare @RID int, @p1 int, @p2 int, @p3 int, @p4 int, @p5 int
declare @targetTable table
(
_key int,
_value int
)
insert into @targetTable (_key, _value)
values
(@rid,@p1),
(@rid,@p2),
(@rid,@p3),
(@rid,@p4),
(@rid,@p5)
Executive Junior Cowboy Developer, Esq.[/url]