odbc_specialcolumns

int odbc_specialcolumns(resource conn, int type, string catalog, string owner, 
 string table, int scope, int nullable) 
conn Connection ID
type Type
catalog Catalog name
owner Database owner
table Table name
scope Scope
nullable Nullable

Displays identifying columns.

Returns:

Result identifier; FALSE on error

Description:

Displays information about columns in the specified table that are required to uniquely identify records in a table. The result may consist of one or more columns. In normal situations, this would be the primary key field.

The type parameter has a value of 0 or 1, indicating whether the columns returned identify unique rows or identify columns that are updated when any value in the row is updated. ...

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.