note 8868 deleted from function.odbc-tables by sobak
| From: | sobak@php.net | Date: | Tue, 22 Nov 2016 08:14:51 +0000 |
| Subject: | note 8868 deleted from function.odbc-tables by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207465@lists.php.net to get a copy of this message | ||
Note Submitter: fmk at swwwing dot com
----
use odbc_tables($con, "%") to get a list of all available catalogs (databases).
use odbc_tables($con, "", "%") to get a list of all schemas available.
use odbc_tables($con, "", "", "", "%") to get a list of all
table types available.
use odbc_tables($con, "my catalog", "my schema", "%",
"'TABLE', 'VIEW'") to get a list of all tables available.
using odbc_tables($con, "%", "%", "%", "%") will return an
empty array !
Before PHP 4.0.3 uou could use this function with 1 or 5 prarms. From 4.0.3 the function matches the
documentation.