#13763 [Opn->NoF]: SQL Compute

From: Date: Sat, 07 Dec 2002 07:40:05 +0000
Subject: #13763 [Opn->NoF]: SQL Compute
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26951@lists.php.net to get a copy of this message
ID: 13763 Updated by: iliaa@php.net Reported By: alahaye@wanadoo.fr -Status: Open +Status: No Feedback Bug Type: Sybase-ct (ctlib) related Operating System: LINUX REDHAT 7 PHP Version: 4.2.1 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-05-14 14:36:32] sander@php.net Reopening on user request. ------------------------------------------------------------------------ [2002-05-14 13:50:38] mad@dactar.ch Still needed with 4.2.1 PS : please change status from Bogus to Open ------------------------------------------------------------------------ [2002-04-23 08:41:41] mad@dactar.ch Still needed with 4.2.0 PS : please change status from Bogus to Open ------------------------------------------------------------------------ [2002-01-13 17:43:37] mad@dactar.ch I've the same problem. Please resolve this bug. Thanks. for more info, see bugs #11475 and #13475, #13735, #12074 There's a lot of problem to retrieve multi-result-set from store procedures (example : sp_help with rules or data types) So, the solution is to develop #12074 or test/apply the patchs from #11475 & #13735, #13475 ------------------------------------------------------------------------ [2001-10-25 17:45:42] jpm@php.net User reported on php-dev, so adding here: --- Here a complete example (php and sybase) with the problem of compute sql statement. PHP stop when he encountred the compute.   PHP :       sybase_query=("EXEC MYPROC");         $result = sybase_query($query);     while ($row = sybase_fetch_array($result))      {         print $row["COLUMN1"];         print $row["COLUMN3"];         print $row["COLUMN3"];      }   SYBASE PROC :   SELECT DISTINCT doc1,";", conste+concen +conqtm+conord+coni1+coni2,";", numchg,"; ", rais1d,";", cpd,";", intcomd,";", dpliv,";", tcaht, ";", qtet,";", crgro, ";" FROM fantasio..f_mtf WHERE datchg>=@debut AND datchg<=@fin AND unit='6' ORDER BY dpliv, rais1d, intcomd, cpd COMPUTE SUM(tcaht), SUM(qtet) BY dpliv, rais1d, intcomd, cpd PHP stop on COMPUTE... Then it's a bug of PHP This error is encountred when i try to return two select. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/13763 -- Edit this bug report at http://bugs.php.net/?id=13763&edit=1

« previous php.bugs (#26951) next »