Dann hilft dir vielleicht die SQL-Funktion TRANSLATE !

select ...
where myfield <> translate(myfield, ' ', x'000102......3F')