⌘BABAKOV.NET Let's code!
100% [dark] [ru]

Searching for a procedure by text that it contains (by metadata) MSSQL

Example of searching for a procedure by text that it contains

SELECT name
FROM   sys.procedures
WHERE  Object_definition(object_id) LIKE \'%некоторый_текст%\'

This script will return the names of all procedures that contain the text: "some_text"

Comments (0)

No comments yet.

Leave a comment
Comment
Images (up to 5 MB)
Your comment will appear after moderation.