select * from syscolumns where id =(select id from sysobjects where name='存储过程名')
select * from syscolumns where id =object_id('存储过程名') and name='@参数名'
以上只是拿出参数列表,还要在WHERE 后加 NAME='@HEHE' 你想查的字段名。
select * from syscolumns where id =(select id from sysobjects where name='存储过程名')
select * from syscolumns where id =object_id('存储过程名') and name='@参数名'
以上只是拿出参数列表,还要在WHERE 后加 NAME='@HEHE' 你想查的字段名。