First look at how to get Infinity :
SQL> SELECT 1/0F COL FROM DUAL 2 / COL ---------- Inf
Now look at the comparison:
SQL> WITH DATA AS( 2 SELECT 1/0F COL FROM DUAL) 3 SELECT * FROM data WHERE col = binary_double_infinity 4 / COL ---------- Inf
Refresh . Thanks to Alex, the suggestion is infinite also an option.
I am on 12.1.0.1 .
The same query with the sentence is infinite :
SQL> WITH DATA AS( 2 SELECT 1/0F COL FROM DUAL) 3 SELECT * FROM data WHERE col is infinite 4 / COL ---------- Inf
Lalit kumar b
source share