In SQLPlus kunnen we een weergave maken met rownum
om precies te zien welk datatype Oracle gebruikt:
TEST>create view v_test as select rownum rn, dummy from dual;
View created.
TEST>desc v_test
Name Null? Type
-------- -------- -------------
RN NUMBER
DUMMY VARCHAR2(1)
Dus voor Oracle is deze pseudokolom een getal. Die op basis van deze link ( http:/ /download.oracle.com/docs/cd/B28359_01/server.111/b28318/datatype.htm#i16209 ) kan bevatten:
The following numbers can be stored in a NUMBER column:
-Positive numbers in the range 1 x 10^-130 to 9.99...9 x 10^125 with up to 38 significant digits
-Negative numbers from -1 x 10^-130 to 9.99...99 x 10^125 with up to 38 significant digits
-Zero
-Positive and negative infinity (generated only by importing from an Oracle Database, Version 5)