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%'
To find those that contain the string “Item” in the name.