Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Data storage for Numeric data
On Jun 13, 2001 at 05:01:29AM, Cale, Rick T (Richard) wrote:
>
> Hi All,
>
> If I have fields defined as NUMBER(2,0) and NUMBER(7,0) how much storage
> does Oracle used if fields are NULL or the
> fields do not use entire width.
Nothing if a field contains NULL and locates at the end of row
1 byte if if contains NULL
Max field length of NUMBER(2,0) is 3 bytes (1 byte length, 1 sign, 1 byte data)
Max field length of NUMBER(7,0) is 6 bytes (1 byte lengtj, 1 sign, 4 byte data)
-- Vladimir Begun | I/O, I/O, It's off to disk I go, A bit or http://vbegun.net/ | byte to read or write, I/O, I/O, I/O... http://vbegun.net/wap/ | me_at_vbegun.net | -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Vladimir Begun INET: jester_at_whale.sunbay.crimea.ua Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Jun 15 2001 - 03:19:50 CDT