Okay I feel pretty stupid right at this moment, as I feel that this should be an easy answer but here I go.
I want to search a text field and return rows where there is an underscore '_' in the text. The problem is, is that the underscore is a single character wildcard as you all well know.
Currently I translate the searched text this way:
translate(my_searched_field,'_','~') like '%~%'
and it works, but is there a better way?
Thanks.
I want to search a text field and return rows where there is an underscore '_' in the text. The problem is, is that the underscore is a single character wildcard as you all well know.
Currently I translate the searched text this way:
translate(my_searched_field,'_','~') like '%~%'
and it works, but is there a better way?
Thanks.