Re: [PHP4BETA] bug in odbc?
| From: | Andreas Karajannis | Date: | Mon, 15 May 2000 16:52:45 +0000 |
| Subject: | Re: [PHP4BETA] bug in odbc? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15059@lists.php.net to get a copy of this message | ||
André Langhorst wrote:
>
> I´m not sure whether this is a bug or not.
> I tried the Adabas SQL command (I think it isn´t ANSI) "EXISTS TABLE $
> tablename" - if the table exists everything is right, if not the browser
> uses more and more memory, does not display anything and then (if not
> killed) crashes the maschine.
> If the table exists, TRUE is returned if not, an error is returned, but
> I think it does not find it´s way to PHP...???
> Executing this statement from an Adabas program works, in both cases.
>
Hm, this is not ANSI SQL, but I see problems anyway: Anything returned
from a sql statement should be passed to the caller via select, e.g.
"SELECT EXISTS TABLE foo from dual" (that's the Oracle dummy table).
Did you try your statement from any odbc commandline client?
-Andreas