search_definitions
Search within SQL Server object definitions (procedures, functions, views) for a specific text pattern to locate source code.
Instructions
Search within object definitions (procedure/function/view source code)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Text pattern to search for | |
| database | No | Limit search to specific database | |
| object_types | No | Object types to search: 'view', 'procedure', 'function' |