I have the following string: Un texto cualquiera 22/12/2016 fin texto
I'm trying to get the position of 22/12/2016
with the PATINDEX function:
SELECT PATINDEX('__/__/____', 'Un texto cualquiera 22/12/2016 fin texto');
But the function returns 0, do you know what I'm doing wrong?
The low bar _
according to the microsoft link is for a character. Patterns