Re: Aggregate Functions
From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 04/28/04
- Next message: Brian Bushay TeamB: "Re: Unknown Error in Activating ADO Query"
- Previous message: Brian Bushay TeamB: "Re: Master-Detail Problem"
- In reply to: acabrera: "Aggregate Functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 27 Apr 2004 20:49:02 -0500
>I am converting our BDE-based Delphi 7 applications to ADO (OleDB).
>There is a report which uses aggregate functions and below is the erring
>statement:
>
>SELECT MAX(STATUS_DT), MAX(PCT_DONE)
>FROM PROJ_STATUS
>WHERE PROJ_KEY(+) = :PROJ_KEY
> AND DEL_FLAG IS NULL
>ORDER BY PROJ_KEY
>
>The error message is 'Not a single-group function.' I read that OleDB
>does not support aggregate functions. How can I then run the report?
Oledb doesn't support any functions. Function support depends on what your
database and oledb driver support.
You need to include what database and oledb driver you are using when you ask a
question about SQL syntax and it is usually a good idea when asking any question
-- Brian Bushay (TeamB) Bbushay@NMPLS.com
- Next message: Brian Bushay TeamB: "Re: Unknown Error in Activating ADO Query"
- Previous message: Brian Bushay TeamB: "Re: Master-Detail Problem"
- In reply to: acabrera: "Aggregate Functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|