查询数据库存储过程中包含某字符串的所有存储过程名称时间:2021-10-18 13:47:38select name from sysobjects o, syscomments s where o.id = s.id and text like '%querytext%' and o.xtype = 'P' ORDER BY name 将querytext替换成你想查找的字符串即可。