Difference between revisions of "Base/Data Types"
From Apache OpenOffice Wiki
< Base
(→Numeric Types) |
m (→Alphanumeric Types) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{NeedsRework|EN}} |
== Variable Types for Embedded Base Database == | == Variable Types for Embedded Base Database == | ||
Line 16: | Line 16: | ||
| <center>1</center> | | <center>1</center> | ||
| <center>no</center> | | <center>no</center> | ||
− | | <center>0 | + | | <center>0 or 1</center> |
|- | |- | ||
Line 102: | Line 102: | ||
|- | |- | ||
| <center>LONGVARCHAR</center> | | <center>LONGVARCHAR</center> | ||
− | | <center> | + | | <center>text</center> |
| 2GB for 32 bit OS | | 2GB for 32 bit OS | ||
− | | Stores up to the max | + | | Stores up to the max number of characters indicated by user. It accepts any UTF 8 character. |
|- | |- | ||
| <center>CHAR</center> | | <center>CHAR</center> | ||
− | | <center>text (fix)</center> | + | | <center>text(fix)</center> |
| 2GB for 32 bit OS | | 2GB for 32 bit OS | ||
− | | Stores exactly the | + | | Stores exactly the number of characters specified by user. Pads with trailing spaces for shorter strings. Accepts any UTF 8 character. |
|- | |- | ||
Line 116: | Line 116: | ||
| <center>text</center> | | <center>text</center> | ||
| 2GB for 32 bit OS | | 2GB for 32 bit OS | ||
− | | Stores up to the specified | + | | Stores up to the specified number of characters. No padding (Same as long var char). |
|- | |- | ||
Line 122: | Line 122: | ||
| <center>text</center> | | <center>text</center> | ||
| 2GB for 32 bit OS | | 2GB for 32 bit OS | ||
− | | Stores up | + | | Stores up to the specified number of characters. Comparisons are not case-sensitive, but stores capitals as you type them. |
|} | |} |
Latest revision as of 11:44, 11 September 2022
Contents
Variable Types for Embedded Base Database
Numeric Types
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2-1074 to (2-2-52)* 21023 could also be stated as 5e-324 to 1.7976931348623157e+308
Alphanumeric Types
|
|
|
|
|
|
2GB for 32 bit OS | Stores up to the max number of characters indicated by user. It accepts any UTF 8 character. |
|
|
2GB for 32 bit OS | Stores exactly the number of characters specified by user. Pads with trailing spaces for shorter strings. Accepts any UTF 8 character. |
|
|
2GB for 32 bit OS | Stores up to the specified number of characters. No padding (Same as long var char). |
|
|
2GB for 32 bit OS | Stores up to the specified number of characters. Comparisons are not case-sensitive, but stores capitals as you type them. |
Binary Types
|
|
|
|
|
|
2GB for 32 bit OS | Stores any array of bytes (images, sounds, etc). No validation required. |
|
|
2GB for 32 bit OS | Stores any array of bytes. No validation required. |
|
|
2GB for 32 bit OS | Stores any array of bytes. No validation required. |
Date time
Name | Description | Format |
Date | Stores month, day and year information | 1/1/99 to 1/1/9999 |
Time | Stores hour, minute and second info | Seconds since 1/1/1970 |
Timestamp | Stores date and time information |
Other Variable types
|
Description |
Other | Stores serialized Java objects. User application must supply serialization routines. |
Object | Same |