Consultor Eletrônico



Kbase 15790: How much disk storage space is used for various field types
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
How much disk storage space is used for various field types


The amount of disk storage space used for a field depends on its
data type. The breakdown is as follows:

Data Type Field Storage (in BYTES)
--------- ------------------------

CHARACTER 1 + (number of characters, excluding trailing
blanks)

[If the number of characters exceeds 240, add
3 to the number of characters instead of 1.]

DATE 3

DECIMAL
zero 1
non-zero 2 + (number of significant digits + 1) / 2

INTEGER
zero 1
+/- 127 2
+/- 32767 3
+/- 8 million 4
+/- 2 billion 5

LOGICAL
false 1
true 2

Progress Software Technical Support Note # 15790