I'm getting errors when I try and perform a COUNT of DISTINCT records from a Paradox table through means of an ODBC connection (through C#.NET code application).
The application will happily let me perform a standard issue 'SELECT COUNT(Field1) FROM Table1' against Paradox tables through this mean.
When I try and extend this to something like 'SELECT COUNT(DISTINCT Field1) FROM Table1' I get an error :
"ERROR [42000] [Microsoft][ODBC Paradox Driver] Syntax error (missing operator) in query expression 'COUNT (DISTINCT Field1)'." ...
Can anyone explain why I would be getting this ?
And furthermore can I work around this to obtain my COUNT of DISTINCT entries ?
Thanks in advance
Steve
The application will happily let me perform a standard issue 'SELECT COUNT(Field1) FROM Table1' against Paradox tables through this mean.
When I try and extend this to something like 'SELECT COUNT(DISTINCT Field1) FROM Table1' I get an error :
"ERROR [42000] [Microsoft][ODBC Paradox Driver] Syntax error (missing operator) in query expression 'COUNT (DISTINCT Field1)'." ...
Can anyone explain why I would be getting this ?
And furthermore can I work around this to obtain my COUNT of DISTINCT entries ?
Thanks in advance
Steve