Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Escape sequence with PATINDEX
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Escape sequence with PATINDEX
Miscellaneous
Thread ID:
00662020
Message ID:
00662020
Views:
77
I've tried to following:

SELECT PATINDEX('%[%','Here come the [dog]'), and it returns 0, should return 15.

If I replace the [ with < it's working fine, so I guess there is some concerns using [.

Since the usage of [ in string is required, is there a way to permit the usage of [ in PATINDEX (escape sequence).

Thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform