ODBC 함수 목록
PHP Manual

odbc_tables

(PHP 4, PHP 5)

odbc_tablesGet the list of table names stored in a specific data source

설명

resource odbc_tables ( resource $connection_id [, string $qualifier [, string $owner [, string $name [, string $types ]]]] )

Lists all tables in the requested range.

To support enumeration of qualifiers, owners, and table types, the following special semantics for the qualifier , owner , name , and table_type are available:

인수

connection_id

ODBC 접속 식별자. odbc_connect()를 참고하십시오.

qualifier

The qualifier.

owner

The owner. Accepts search patterns ('%' to match zero or more characters and '_' to match a single character).

name

The name. Accepts search patterns ('%' to match zero or more characters and '_' to match a single character).

types

If table_type is not an empty string, it must contain a list of comma-separated values for the types of interest; each value may be enclosed in single quotes (') or unquoted. For example, "'TABLE','VIEW'" or "TABLE, VIEW". If the data source does not support a specified table type, odbc_tables() does not return any results for that type.

반환값

Returns an ODBC result identifier containing the information or FALSE on failure.

The result set has the following columns:

The result set is ordered by TABLE_TYPE, TABLE_QUALIFIER, TABLE_OWNER and TABLE_NAME.

참고


ODBC 함수 목록
PHP Manual