Table 9-3 through Table 9-6 summarize the memory requirements for each data type. "L" is the length specified in the control file. "P" is precision. "S" is the size of the length indicator. For more information about these values, see "SQL*Loader Data Types".
Table 9-3 Fixed-Length Fields
Data Type | Size in Bytes (Operating System-Dependent) |
---|---|
|
The size of the |
|
|
|
The size of |
|
The size of the |
|
The size of the |
|
The size of |
|
The size of |
|
The size of |
|
Composed of 2 numbers. The first specifies length, and the second (which is optional) specifies |
|
This data type is for |
Table 9-4 Nongraphic Fields
Data Type | Default Size | Specified Size |
---|---|---|
(packed) |
None |
(N+1)/2, rounded up |
|
None |
P |
|
None |
L |
|
1 |
L + S |
datetime and interval (no delimiters) |
None |
L + S |
numeric |
None |
L + S |
Table 9-5 Graphic Fields
Data Type | Default Size | Length Specified with POSITION | Length Specified with DATA TYPE |
---|---|---|---|
|
None |
L |
2*L |
|
None |
L - 2 |
2*(L-2) |
|
4KB*2 |
L+S |
(2*L)+S |
Table 9-6 Variable-Length Fields
Data Type | Default Size | Maximum Length Specified (L) |
---|---|---|
|
4 KB |
L+S |
|
255 |
L+S |
datetime and interval (delimited) |
255 |
L+S |
numeric |
255 |
L+S |