Subject | Re: [IBO] Strange behaviour of IB_SQL |
---|---|
Author | Nando Dessena |
Post date | 2001-08-09T16:58:59Z |
Jason,
If the query selects just one column (as is often the case with
distinct), perhaps you could use
select count (distinct fieldname) from table where ...
Why SQL does not allow this syntax with more that one column, I ignore.
Ciao
--
____
_/\/ando
> It is not intended behavior. I think what it should do is impose a fetchallI assume you do a select count(*) to count the rows.
> or raise an exception that it cannot determine the count.
If the query selects just one column (as is often the case with
distinct), perhaps you could use
select count (distinct fieldname) from table where ...
Why SQL does not allow this syntax with more that one column, I ignore.
Ciao
--
____
_/\/ando