View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008827 | ADK-Xojo-V4RB | SQL | public | 2020-07-07 19:09 | 2020-07-12 11:54 |
Reporter | François Van Lerberghe | Assigned To | Ivan Smahin | ||
Priority | urgent | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | ALL | OS | ALL | OS Version | ALL |
Product Version | 10.2.x | ||||
Fixed in Version | 10.4.x | ||||
Summary | 0008827: Wrong SQL result when no record for one condition | ||||
Description | The table Journal have - 2 records, Code = 'VEN' AND Code = 'VES', where Type = 'V' (uppercase) - 1 record, Code = 'NCV' where Type = 'v' (lowercase) The table Transactions has only records where Journal is 'VEN', no record where Journal = 'NCV' If I do a SQL query searching for both Type 'V' (in uppercase) AND Type = 'v' (in lowercase), the result is wrongly empty | ||||
Steps To Reproduce | 1) Open the joined database 2) Do this SQL Query : SELECT Transactions.RecID FROM Transactions JOIN Journaux ON Transactions.Journal = Journaux.Code WHERE (Journaux."Type" = 'V' OR Journaux."Type" = 'v') or this one : SELECT Transactions.RecID FROM Transactions JOIN Journaux ON Transactions.Journal = Journaux.Code WHERE Journaux.UpperType = 'V' (Note : Journaux.UpperType is a method field, = UPPER("Type") ) The results are empty but ther are many records that match this query. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-07-07 19:09 | François Van Lerberghe | New Issue | |
2020-07-07 19:09 | François Van Lerberghe | File Added: Databases.zip | |
2020-07-07 19:43 | François Van Lerberghe | Note Added: 0011358 | |
2020-07-07 19:48 | François Van Lerberghe | Note Added: 0011359 | |
2020-07-10 06:31 | Ivan Smahin | Assigned To | => Ivan Smahin |
2020-07-10 06:31 | Ivan Smahin | Status | new => resolved |
2020-07-10 06:31 | Ivan Smahin | Resolution | open => fixed |
2020-07-10 06:31 | Ivan Smahin | Fixed in Version | => 10.4.x |