|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-08-28 22:52 UTC] kalowsky@php.net
[2002-08-29 02:45 UTC] christophe dot bidaux at netcourrier dot com
[2002-08-29 16:52 UTC] kalowsky@php.net
[2002-08-30 03:10 UTC] christophe dot bidaux at netcourrier dot com
[2002-08-31 00:17 UTC] kalowsky@php.net
[2002-10-02 12:28 UTC] kalowsky@php.net
[2002-10-03 01:40 UTC] christophe dot bidaux at netcourrier dot com
[2002-10-03 07:48 UTC] kalowsky@php.net
[2002-10-04 07:03 UTC] christophe dot bidaux at netcourrier dot com
[2002-11-15 18:11 UTC] kalowsky@php.net
[2002-11-26 19:59 UTC] sniper@php.net
[2002-12-09 11:06 UTC] christophe dot bidaux at netcourrier dot com
[2003-01-06 12:32 UTC] kalowsky@php.net
[2003-01-20 04:00 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 15:00:02 2025 UTC |
My problem is the same described in the 13167 and 7789 bug reports, but I don't know how to change a bug report status... I have exactly the same problem with the currently last PHP version/CGI (4.2.2) : I have no result (IIS "stops" the script, and the page is never sended to the client) with an ODBC/Oracle query with a "select distinct". But, I have something to add : the problem appears with a query with just ONE table in the "select distinct", but not, in the same conditions with a query with two tables linked in the "select distinct". ---------- $gp=odbc_pconnect("INTRANET gp","user","password"); $requete="(?)"; $db_query=odbc_exec($gp,$requete); odbc_fetch_into($db_query,$db_array); with (?)="select distinct POSTE, LBLPOSTE from TEMPSCUMULES where SOCIETE='001' and ATELIER='40' and to_char(JOURNEE,'YYYYMMDD') between '20020701' and '20020731' order by POSTE", it doesn't work. with (?)="select POSTE, LBLPOSTE from TEMPSCUMULES where SOCIETE='001' and ATELIER='40' and to_char(JOURNEE,'YYYYMMDD') between '20020701' and '20020731' order by POSTE" or (?)="select distinct GROUPE, POSTE, LBLPOSTE from TEMPSCUMULES, GROUPE_MACHINE where POSTE=MACHINE and SOCIETE='001' and ATELIER='40' and to_char(JOURNEE,'YYYYMMDD') between '20020701' and '20020731' order by GROUPE, POSTE", it works fine. The driver is "Oracle ODBC Driver 8.00.06.00" Merci. Christophe