English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Basic PHP Tutorial

Advanced PHP Tutorial

PHP & MySQL

PHP Reference Manual

Usage and Examples of PHP odbc_primarykeys() Function

PHP ODBC Reference Manual

The odbc_primarykeys() function is used to obtain the primary key of the table

Syntax

resource odbc_primarykeys ( resource $connection_id , string $qualifier , string $owner , string $table )

Definition and Usage

Returns the result identifier, which can be used to obtain the column names that make up the table's primary key.

Return Value

It returns an ODBC result identifier, and 0 is displayed on failure

Parameter

Serial NumberParameters and Descriptions
1

connection_id

ODBC Connection Identifier

PHP ODBC Reference Manual