I have a text field that contains a percentage sign. I need 3 chars from the left of that percentage sign...but since the percentage sign is a wildcard I'm having some issues.
charindex(field,'%') from...
That is how I'd normally go about this as part of a substring function, but since % is a wildcard, the charindex returns 0 for any non null record. Any idea's on how I specify this to the char '%' instead of the % wildcard?
Tried to search this one on the forums, but just ended up sifting through unrelated questions.