on 2015 Oct 09 10:21 AM
In a database with AccentSensitive=off the Replace function treats 'a' and 'ä' the same. So does any way exists to temporarily force AccentSensitivity for the Replace function?
Request clarification before answering.
Treating the whole string as binary (and therefore case sensitivity and the like) would be too strong, I guess? Otherwise, replace() with binary datatypes might do the trick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think binary replace is available from SQLA 17 up
Yes, I should have known better, as I asked that a while ago:
How do builtin string functions work with binary data?
and Mark has explained that REPLACE() (pre-v17) does only work with character data and would convert binary input into character data...
User | Count |
---|---|
82 | |
29 | |
9 | |
8 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.