runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
select * from syscolumns where id =(select id from sysobjects where name='存储过程名')

 

select * from syscolumns where id =object_id('存储过程名') and name='@参数名'

 

以上只是拿出参数列表,还要在WHERE 后加 NAME='@HEHE' 你想查的字段名。

posted on 2016-01-12 10:26  runliuv  阅读(385)  评论(0编辑  收藏  举报