How do I find a stored procedure containing ?

后端 未结 20 2074
梦谈多话
梦谈多话 2020-11-28 17:21

I need to search a SQL server 2008 for stored procedures containing where maybe the name of a database field or variable name.

20条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 17:31

    SELECT * FROM sys.procedures WHERE Name LIKE '%CompanySpecialisation%'
    

    This is what I have written in SQL 2012 to select all stored procedures where name like "CompanySpecialisation"

提交回复
热议问题