Search text in stored procedure in SQL Server
Search text in stored procedure in SQL Server
Search text in stored procedure in SQL Server
Re: Search text in stored procedure in SQL Server
Escape the square brackets:
```
...
WHERE m.definition Like '%\[ABD\]%' ESCAPE '\'
```
Then the square brackets will be treated as a string literals not as wild cards.
```
...
WHERE m.definition Like '%\[ABD\]%' ESCAPE '\'
```
Then the square brackets will be treated as a string literals not as wild cards.