How to find stored procedures by name?
问题 I just need to search through all the stored procedures on my database looking for one that contains "item" in its name. Any ideas? I've been tinkering around with this, but it's not quite there yet: SELECT DISTINCT OBJECT_NAME(ID) FROM SysComments WHERE Text LIKE '%Item%' 回答1: To find those that contain the string "Item" in the name . select schema_name(schema_id) as [schema], name from sys.procedures where name like '%Item%' 回答2: This can also help you on this issue. It also works when