Re: Not enough storage

From: Date: Thu, 27 Jul 2000 21:26:23 +0000
Subject: Re: Not enough storage
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1584@lists.php.net to get a copy of this message
hi mirko, maybe odbc_free_result($res); might help greets, mac Mirko Nalesso wrote: > > Hi people, > I have a problem when I do an insert or select operation. In my file I > try to extract > little pieces of a big text by means of while loop. This error appear > after 33 loop > without errors: > > Warning: SQL error: [IBM][CLI Driver][DB2/LINUX] SQL0954C Not enough > storage is available > in the application heap to process the statement. SQLSTATE=57011 , SQL > state 57011 in > SQLExecDirect in /home/db2inst1/htdocs/estrai.php on line 113 > > line 112: $query = "SELECT * FROM dc_coverage WHERE coverage = > '$location';"; > line 113: $res = odbc_exec($c, $query); > > In the next loops the same error appear in insert operations. > What kind of error is it? > What is the solution? > > Mirko > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#1584) next »