Changes between Version 19 and Version 20 of FDORfc55
- Timestamp:
- 06/14/11 07:17:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc55
v19 v20 56 56 Note: beyond the !FdoInt64 range the current behaviour will be preserved, i.e. the property type will remain !FdoDecimal. 57 57 58 But assume a SHP file with a column of DECIMAL(4,0). DescribeSchema will return that as a FdoInt16. On an insert operation we need to make sure the user has enough information to avoid values out of (-999, 999) range. Or in an ApplySchema operation we need to treat the Int16 as DECIMAL(6,0) as opposed to DECIMAL(4,0) to be sure it can handle the full range. Therefore a suplimentary change is needed: theFdoPropertyDefinition will return FdoIntXX datatype but retain the original Precision (the Scale is implicit zero).58 But assume a SHP file with a column of DECIMAL(4,0). !DescribeSchema will return that as a !FdoInt16. On an insert operation we need to make sure the user has enough information to avoid values out of (-999, 999) range. Or in an !ApplySchema operation we need to treat the Int16 as DECIMAL(6,0) as opposed to DECIMAL(4,0) to be sure it can handle the full range. Therefore a suplimentary change is needed: the !FdoPropertyDefinition will return FdoIntXX datatype but retain the original Precision (the Scale is implicit zero). 59 59 60 60