note 8868 added to odbc_tables

From: Date: Tue, 03 Oct 2000 04:22:40 +0000
Subject: note 8868 added to odbc_tables
Groups: php.notes 
Request: Send a blank email to php-notes+get-5977@lists.php.net to get a copy of this message
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. http://www.php.net/manual/function.odbc-tables.php

« previous php.notes (#5977) next »