Home > PHP > Function > ODBC > odbc_columnprivileges()

odbc_columnprivileges()

odbc_columnprivileges - Lists columns and associated privileges for the given table

Syntax

resource odbc_columnprivileges (resource $connection_id, string $qualifier, string $owner, string $table_name, string $column_name)

Arguments

  • connection_id - The ODBC connection identifier, see odbc_connect() for details.
  • qualifier - The qualifier.
  • owner - The owner.
  • table_name - The table name.
  • column_name - The column_name argument accepts search patterns (\'%\' to match zero or more characters and \'_\' to match a single character).

Description

Lists columns and associated privileges for the given table.

Version

PHP 4, 5

Return value

Returns an ODBC result identifier or FALSE on failure. This result identifier can be used to fetch a list of columns and associated privileges.