--获取存储过程的参数,类型,长度
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'
本文提供了一种查询SQL存储过程参数、类型及长度的方法,并展示了如何查看存储过程的定义。
转载于:https://www.cnblogs.com/laiwei85/archive/2008/12/19/1358266.html
9086

被折叠的 条评论
为什么被折叠?