Im using this sql select for retrieving som historical data :
select CSQ, sum(kaldIalt), sum(KaldTabt) from DEV_CSQR where Dato between '09/1/09' and '10/31/09' group by CSQ
When testing it - it returns 17 rows - working as designed.
when debugged, the DB Read works fine,
but the first DB get, throws a SQL error.
I think it's because of the sum.
Are there any way to get it working, without dropping the sum.