Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: select distinct does not work on Oracle 8i
Bernd Rosenau wrote:
> Hello,
>
> our application is programmed in VB 6 and connects to an Oracle
> database
> using ADO. The following statement submitted from the client works ok
> if the backend is Oracle 8.0.5 but it is giving non-distinct results
> when the backend is Oracle 8i.
>
> SELECT DISTINCT Bereich FROM GenericTable
>
> What can i do ?
>
> Many thanks in advance for your help,
>
> Regards, Bernd
Known bug. Make sure you do an ANALYZE TABLE on the table and that should solve the problem. Otherwise you could alter your session to specifically select the rule-based optimizer. Received on Thu Oct 12 2000 - 08:28:14 CDT
![]() |
![]() |