Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Incident Reports » Incident Reports Reported for Version 3.19 » View Incident Report |
Serious |
Reported By: Hedley Muscroft Reported On: 10/25/2002 For: Version 3.19 Build 1 |
/* Copy this SQL into DBSYS */ DROP TABLE IF EXISTS MEMORY "Temp"; CREATE TABLE MEMORY "Temp" ( ANumber INTEGER ); INSERT INTO MEMORY "Temp" (ANumber) VALUES (1); INSERT INTO MEMORY "Temp" (ANumber) VALUES (2); INSERT INTO MEMORY "Temp" (ANumber) VALUES (3); INSERT INTO MEMORY "Temp" (ANumber) VALUES (4); INSERT INTO MEMORY "Temp" (ANumber) VALUES (5); INSERT INTO MEMORY "Temp" (ANumber) VALUES (6); /* This works as expected (remove comments to see)... SELECT *, CAST(NULL AS BOOLEAN) AS NullBoolField FROM MEMORY Temp; */ /* This returns FALSE rather than NULL values... */ SELECT *, IF (ANumber>10 THEN true ELSE CAST(NULL AS BOOLEAN)) AS NullBoolField FROM MEMORY Temp;
This web page was last updated on Tuesday, April 23, 2024 at 08:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |