Wednesday, June 22, 2016

Find String in All DB SP

sp_msforeachdb 'use ?;select name,''?'' from sys.procedures where object_definition(object_id) like ''%dbcc%'''

No comments:

Post a Comment