odbc_tableprivileges

resource odbc_tableprivileges(resource conn, [string catalog], 
 [string owner], [string table]) 
conn Connection ID
catalog Catalog name
owner Database owner
table Table name

Lists column permissions.

Returns:

Result identifier; FALSE on failure

Description:

Displays permissions of a table. The syntax of this command may vary across database vendors; the example below shows the correct syntax for Microsoft SQL Server. Wildcards can be used; % indicates a match on zero or more characters, while the underscore character (_) is used to match a single character. Results returned are TABLE_CAT, TABLE_SCHEM, TABLE_NAME, GRANTOR, GRANTEE, PRIVILEGE, and IS_GRANTABLE. The results are ordered by TABLE_QUALIFIER, TABLE_OWNER ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.