when choose Float or Number types in Oracle -


i m reading table in oracle , m looking times using "float" type or "number" practicaly same value

create table sensor_a    (  sen_id number,       sen_rating number,    --here m wating 12,9984      sen_mont date,      sen_value float(64),    -- here im waiting 0,83387     ); 

so should choose float or number when want save number decimals , there case better use 1 or other?

thanks in advance, enrique

float alias number datatype in oracle. can choose of them, synonym of each other.

see oracle docs:

float [(p)]

a subtype of number datatype having precision p. float value represented internally number. precision p can range 1 126 binary digits. float value requires 1 22 bytes.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -