Friday, March 23, 2012

Parameter

Knowing the parameter used in a stored procedure how can I find out the stored procedure's name?create procedure test @.id int,@.id2 int
as
select @.id
go
select * from sysobjects where id in(
select id from syscolumns where name='@.id2')

No comments:

Post a Comment