I have some data, which I cannot change, in a varchar2(800)
column, which displays in SQL Developer as a null
and exports from there as a null
, but is not null
.
Here's what I tried:
length(mycol)
return3
asciistr(mycol)
returnsnull
substr(mycol, 1, 1)
returnsnull
(the other positions return normal letters)ascii(substr(mycol, 1, 1))
returns180
, which is a acute accent
I want to not select rows that will export with a null
value.
How can I do that?
I tried asciistr(mycol) is not null
, but that also filters out text with accented characters that do not export as null
. I want to export accented characters, but not when the whole column will be exported as null
.
mycol is not null
and to_char(mycol) is not null
had no effect.
Obviously, I need a solution that will work for any length of input and character weirdness at any position in the field.