Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Escape sequence with PATINDEX
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00662020
Message ID:
00662055
Views:
23
>Thanks!
>
>The first option works fine with [[] , but []] does not works. So I switch to CHARINDEX.
The following works.
SELECT PATINDEX('%]%','Here come the [dog]')
See Pattern Matching in Search Conditions in BOL for details.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform