Problem with sql call (with W2K) but same call work fine under Win98
| From: | Dominique van der Wal | Date: | Fri, 22 Mar 2002 10:01:53 +0000 |
| Subject: | Problem with sql call (with W2K) but same call work fine under Win98 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12727@lists.php.net to get a copy of this message | ||
Hi,
I've install W2K and php (ver 4.1.2) on my pc and copy my scripts wich
are running under a W98 OS.
It work fine but with the following sql call I crash my webserver.
<?php
$db = odbc_connect("MyDB",'','');
$sql = "SELECT max(RegDate) FROM TDistribution";
$result = odbc_exec($db, $sql);
?>
The problem is with the max function.
Under the console, i receive the following message : FATAL : emalloc():
unable to allocate 214748599 bytes
Any idea to solve this problem under W2K (but same code run under W98)
Thank you in advance
Dominique van der Wal