Hallo *all,
ich habe folgendes Statement abgesetzt:
select distinct apo01tr.apanr, apo01tr.§§date
from apo01tr exception join apo01pf
on apo01tr.apanr = apo01pf.apanr
and apo01tr.§§date > 20110301
and apo01tr.apkdj2 = 1
order by apo01tr.apanr asc

und bekomme das Ergebnis.
32115 20.100.903
32115 20.100.904
32116 20.100.901
32116 20.100.902
32117 20.100.902
32117 20.100.903
32119 20.100.830
32119 20.100.831
32120 20.100.827

Wenn ich das in Query mache bekomme ich folgendes zu sehen:

32460 20.110.301
32461 20.110.301
32462 20.110.301
32463 20.110.301
32464 20.110.301
32464 20.110.301
32464 20.110.301

Sprich im SQL ignoriert der gefließentlich die Datumsabfrage.
Warum?

GG