Not sure how tilde got inserted in NUMBER column. (no precision defined)
We scanned the app code, but nothing has found.
When I do as
select c1 from t1 where c1 = '~' --where c1 is NUMBER data type (create table t1 (c1 number))
ERROR at line 1:
ORA-01722: invalid number
And
select c1 from t1 where c1 like '~'
it gives me output as ~
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
PL/SQL Release 11.2.0.4.0 - Production
CORE 11.2.0.4.0 Production
TNS for Linux: Version 11.2.0.4.0 - Production
NLSRTL Version 11.2.0.4.0 - Production