Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 SQL Manual » Types » Exact Numeric Types |
Type | Description |
INTEGER INT | A 32-bit,signed integer value |
SMALLINT | A 16-bit,signed integer value |
BIGINT | A 64-bit,signed integer value |
NUMERIC[(<Precision>[,<Scale>])] | A 64-bit exact numeric value a specifc precision and scale, or fractional digits. Regardless of the precision specified, ElevateDB always uses an implementation-defined precision of 19 digits. The maximum scale is 4 digits. This type is ideal for representing monetary values. If the scale is not specified, then the default is 0. If the precision is not specified, then the default is 19 digits. |
DECIMAL[(<Precision>[,<Scale>])] | An 64-bit exact numeric value a specifc precision and scale, or fractional digits. Regardless of the precision specified, ElevateDB always uses an implementation-defined precision of 19 digits. The maximum scale is 4 digits. This type is ideal for representing monetary values. If the scale is not specified, then the default is 0. If the precision is not specified, then the default is 19 digits. |
-- This example specifies an INTEGER literal SELECT * FROM Customer WHERE CustNo=1206 -- This example specifies a DECIMAL literal SELECT * FROM Customer WHERE BalanceDue > 1000.00
Deviation | Details |
NUMERIC Type | ElevateDB translates any NUMERIC into the equivalent DECIMAL type. Also, it always uses the implementation-defined precision of 19 digits instead of the precision that is specified in the type definition. |
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |