diff --git a/src/ref/data/database/database-data-types.md b/src/ref/data/database/database-data-types.md index d144e02bd..51907451d 100644 --- a/src/ref/data/database/database-data-types.md +++ b/src/ref/data/database/database-data-types.md @@ -25,7 +25,7 @@ The following table represents how OutSystems data types are mapped to the data OutSystems | SQL Server / SQL Azure | Oracle | Obs. ---|---|---|--- Text | nvarchar(<length>) if the length is less than or equal to 2000, NVarchar(max) otherwise. | VARCHAR2(<length>), if the length is less than or equal to 2000, CLOB otherwise. | -Integer | int If an attribute with this type is set to auto number, the IDENTITY attribute is added. | NUMBER(10) If an attribute with this type is set to auto number, a sequence is added. | +Integer | int If an attribute with this type is set to auto number, the IDENTITY attribute is added. | NUMBER(10) If an attribute with this type is set to auto number, a sequence is added. | When using Oracle, the practical minimum value in static entities is -2147483647, despite the theoretical minimum of -2147483648. This limitation is due to Oracle's NUMBER(10) implementation. When working with values near the integer boundaries or migrating data from other systems, ensure your data validation accounts for this limitation. For auto-numbered attributes, the sequence generation is not affected by this constraint. Long Integer | bigint If an attribute with this type is set to auto number, the IDENTITY attribute is added. | NUMBER(20) If an attribute with this type is set to auto number, a sequence is added. | Decimal | decimal() The precision and scale values, are the ones defined by the Length and Decimals properties of the attribute. | NUMBER() The precision and scale values, are the ones defined by the Length and Decimals properties of the attribute. | At runtime, when values are read from (or saved to) the database, the number of decimal digits depends on the stack of the application server. Consider the restrictions of System.Decimal. Boolean | bit | NUMBER(1) |