ODBC_COLUMNPRIVILEGES(3) 1 ODBC_COLUMNPRIVILEGES(3)
odbc_columnprivileges - Lists columns and associated privileges for the given table
SYNOPSIS
resource odbc_columnprivileges (resource $connection_id, string $qualifier, string $owner, string $table_name, string $column_name)
DESCRIPTION
Lists columns and associated privileges for the given table.
PARAMETERS
o $connection_id
-The ODBC connection identifier, see odbc_connect(3) for details.
o $qualifier
- The qualifier.
o $owner
- The owner.
o $table_name
- The table name.
o $column_name
- The $column_name argument accepts search patterns ('%' to match zero or more characters and '_' to match a single character).
The $owner, $table_name, and $column_name accept search patterns ('%' to match zero or more characters and '_' to match a single charac-
ter).
RETURN VALUES
Returns an ODBC result identifier or FALSE on failure. This result identifier can be used to fetch a list of columns and associated privi-
leges.
The result set has the following columns:
oTABLE_QUALIFIER
oTABLE_OWNER
oTABLE_NAME
oGRANTOR
oGRANTEE
oPRIVILEGE
oIS_GRANTABLE
The result set is ordered by TABLE_QUALIFIER, TABLE_OWNER and TABLE_NAME.
PHP Documentation Group ODBC_COLUMNPRIVILEGES(3)