sysobjects 有过程名SYSCOLUMNS中有参数syscomments 有全部语法
select c.text,o.name from syscomments c,sysobjects o where o.id=c.id and o.xtype in ('P','V')