Skip to Content

Advantage returning wrong value on Null in Delphi Tokyo

Trying Delphi 10.2.1 Tokyo and came across an interesting bug, a simple stat,ment that returns a null value such as:

Select Cast(Null AS SQL_MONEY) Value From System.iota;

Returns a value of: -922337203685477.58, instead of Null

(Test by attaching a DBGrid to DataSOirce to AdsQuery)

Did same test with FDQuery (FireDac) using ADS driver, and it works properly.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 01, 2017 at 12:42 PM
    Add comment
    10|10000 characters needed characters exceeded