Subject | Re: [firebird-support] Query and problem with nulls |
---|---|
Author | Luigi Siciliano |
Post date | 2018-01-04T16:13:07Z |
Hallo,
Il 04/01/2018 16.58, Dimitry Sibiryakov sd@...
[firebird-support] ha scritto:
if I select between 01/01/2018 and 31/12/2018 I not have results! this because there are no rows in DT between 01/01/2018 and 31/12/2018.
I, instead, expecting this result:
DEPOSITO_ID RIPORTO CARICO SCAR
ICO ESISTENZA IMPEGNATI ORDINATI
=========== ======================= =======================
====================
=== ======================= ======================= =======================
1 1.0000000000000000 0.000000000000000 0.0000000000000
000 2.000000000000000 0.0000000000000000 0.0000000000000000
Thanks.
--
Luigi Siciliano
--------------------------
Il 04/01/2018 16.58, Dimitry Sibiryakov sd@...
[firebird-support] ha scritto:
> 04.01.2018 16:55, Luigi Siciliano luigisic@... [firebird-support] wrote:The problem is:
>> As you see:
>> - if I select between 01/01/2018 and 31/12/2018 the are not rows in DT
>> - if I select between 01/01/2017 and 31/12/2017 works fine because the
>> are at least 1 row in DT
> So, where is the problem? I can't see "all nulls".
>
if I select between 01/01/2018 and 31/12/2018 I not have results! this because there are no rows in DT between 01/01/2018 and 31/12/2018.
I, instead, expecting this result:
DEPOSITO_ID RIPORTO CARICO SCAR
ICO ESISTENZA IMPEGNATI ORDINATI
=========== ======================= =======================
====================
=== ======================= ======================= =======================
1 1.0000000000000000 0.000000000000000 0.0000000000000
000 2.000000000000000 0.0000000000000000 0.0000000000000000
Thanks.
--
Luigi Siciliano
--------------------------