Re: PHP 4.0 Bug #6901: odbc_columns
| From: | Frank M. Kromann | Date: | Wed, 27 Sep 2000 20:02:08 +0000 |
| Subject: | Re: PHP 4.0 Bug #6901: odbc_columns | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33784@lists.php.net to get a copy of this message | ||
Some ODBC drivers/databases returns en error with SQL state 00000 indicating that no data was found.
This is not actually an error and it could be filtered in the internal odbc_errir function.
- Frank
>From: john.cumming@hither.com
>Operating system: Win98SE
>PHP version: 4.0.1pl2
>PHP Bug Type: ODBC related
>Bug description: odbc_columns
>
>Hi,
>
>I am using the pre-built version of PHP 4.0.1pl2 on Win98. and connecting to a MSAccess data
>source with ODBC.
>
>This code fragment works,
> $result = odbc_columns($link);
>
>while this on does not,
> $result = odbc_columns($link, "%", "%", "%", "%");
>it generates,
> Warning: SQL error: ,SQL state 00000 in SQLColumns in ...
>
>I get the same error message with,
> $result = odbc_tables($link, "%", "%", "%", "%" );
>
>I hope this is helpful.
>
>-John
>
>
>
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
>For additional commands, e-mail: php-dev-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>