摘要:
功能:快速查找存储过程和触发器参数:@name,存储过程名或者触发器名 @type,类型,'sp'为存储过程,'Tr'为触发器create functionQuery_Object(@name varchar(100), @type varchar(2))RETURNS TABLEasreturn(select b.name ,a.text from syscomments a,sysobjects bwhere object_id(b.name)=a.id and b.xtype=@type and b.name=@name)--测试select * from 阅读全文