Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: NUMBER datatype
gregk72_at_my-deja.com wrote:
>
> When I do a Analyze table on table with Number datatypes in it, the
> statistics always come back indicating that number fields take 22 bytes
> regardless of the precision and scale indicated when creating the
> column. Do NUMBER fields ALWAYS take 22 bytes??
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
No - check the Server Concepts manual...
Number format only uses enough bytes to store that number...
thus the value of "1" in a NUMBER(10) column uses the same amount of data as in a NUMBER(2) column...
HTH
--
"Some days you're the pigeon, and some days you're the statue." Received on Wed Aug 18 1999 - 05:27:54 CDT