[SQL] Strange DISTINCT !

2001-08-20 Thread Jean-Christophe Boggio
p.idmembre=t.idmembre limit 5; (I currently have idmembre as an index on tmp_stat and prefs) How does DISTINCT work ? Is this a bug or a misconfigured index ? -- Jean-Christophe Boggio [EMAIL PROTECTED] -o) Independant Consultant and Developer

[SQL] Help with GROUP BY

2000-11-08 Thread Jean-Christophe Boggio
22 seconds. Is there a way to optimize this ? (REASON is indexed though I can see no interest in this query.) TIA! -- Jean-Christophe Boggio [EMAIL PROTECTED] Independant Consultant and Developer Delphi, Linux, Oracle, Perl

Re: [SQL] if else query help

2000-10-12 Thread Jean-Christophe Boggio
e fractionnal part is the portion of the day (although I don't know --yet-- how to convert date2-date1 to an integer, trunc does not work). HTH -- Jean-Christophe Boggio [EMAIL PROTECTED] Independant Consultant and Developer Delphi, Linux, Oracle, Perl