rtrim in where clause not returning correct data
A select statement specifying
where rtrim(field_name) <> ''
is not returning any rows even though there is data on the table with field_name not blank.
If this particular where clause is omitted the data is returned and rtrim(field_name) is populated correctly.
This is occurring across different tables and in both 10.2.0.4 and 11.2.0.1 databases. I can't find any references to this being a bug.
Has anyone else come across this ? Can anyone explain why this is happening please ?