bluecjh
Programmer
- Mar 12, 2003
- 385
Code:
declare @test varchar(1000);
set @Test = '';
SELECT
@Test = @Test + ',' + c.name
FROM
syscolumns c
INNER JOIN sysobjects O On c.id = o.id
WHERE
o.id = @@procid
select @Test
from a procedure, is there a way to combine
the parameter values which i want to store and
associated witht the parameter names, i'm stumped
BlueCJH