获取存储过程参数,类型,长度

来源:互联网 发布:医疗数据分析建模 编辑:程序博客网 时间:2024/04/29 12:27
--获取存储过程的参数,类型,长度select   a.name   '参数',b.name   '类型',a.length   '长度'     from   syscolumns   a,systypes   b   where   id   =   object_id('proc_test')   and   a.xtype=b.xtype--查看存储过程的定义exec   sp_helptext 'proc_test'

原创粉丝点击