Home > PHP > Function > ODBC > odbc_columns()

odbc_columns()

odbc_columns - Lists the column names in specified tables

Syntax

resource odbc_columns (resource $connection_id, string $qualifier, string $schema, string $table_name, string $column_name)

Arguments

  • connection_id - The ODBC connection identifier, see odbc_connect() for details.
  • qualifier - The qualifier.
  • schema - The owner.
  • table_name - The table name.
  • column_name - The column name.

Description

Lists all columns in the requested range.

Version

PHP 4, 5

Return value

Returns an ODBC result identifier or FALSE on failure.