We have a fairly large PowerBuilder application that is used to run our business.
We are working on a 2 way messaging module and there are lots of messages.
In our database (SQL Server), the message id number (used to uniquely identify the record) is the datatype BIGINT
(this is a 2^64). Does the datawindow support this type yet? I only see options for long and ulong, which I'm pretty sure are still 32 bit numbers...
Interestingly, despite what the help file says, I've found that I could actually fit numbers of up to 30 digits (positive or negative) into a decimal variable. 31 digits results in a value of 0.
Yes, I agree ... the Decimal data type will actually hold more. For example, the INT data type will actually hold up to 84K internally (during computations as a pace holder) but coughs at 32K in the DWO. However, the DWO is older and because it comes from the old 8 / 16bit world originally - has a few more restrictions on how it handles certain data types. Decimals in the DWO originally were only 15 digits and then later this was upgraded to 28 digits. So there are certainly some need attention / retrofitting required to the DWO to bring it "up to snuff" 202x wise (ie: Boolean, BigInt and BIT).
Regards ... Chris