![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, what is the size of the Oracle datatype NUMBER in bytes? Thank you, Norbert It depends on the number. It can be as large as 22 bytes. In Oracle numbers |
#3
| |||
| |||
|
|
Hello, what is the size of the Oracle datatype NUMBER in bytes? Thank you, Norbert |
#4
| |||
| |||
|
|
"Norbert Pürringer" <thalio... (AT) graffiti (DOT) net> wrote in message news:35dce30e-e971-4d23-97e3-bd0e07c18177 (AT) v15g2000yqn (DOT) googlegroups.com...> Hello, what is the size of the Oracle datatype NUMBER in bytes? Thank you, Norbert It depends on the number. *It can be as large as 22 bytes. In Oracle numbers are stores in base 100 so a good approximation is logbase10(the number)/2+1 . *Numbers are internally expressed in scientific notation so 1,000,000,000 isn't much larger than 10 in terms of storage. *You can be empirical about it using vsize eg select vsize(mynumbercolumn) from mytable; |
![]() |
| Thread Tools | |
| Display Modes | |
| |