odbc_columns

void odbc_columns(int conn, [string catalog], [string owner], 
 [string table], [string column]) 
conn Connection ID
catalog Catalog name
owner Database owner
table Table name
column Column name

Displays column information.

Returns:

Result identifier; FALSE on failure

Description:

Displays information on a column or columns in a table. The syntax of this command may vary across database vendors; the example shows the correct syntax for Microsoft SQL Server. In addition, 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, COLUMN_NAME, DATA_TYPE, TYPE_NAME, COLUMN_SIZE, BUFFER_LENGTH ...

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.