ODBC 函数
PHP Manual

odbc_primarykeys

(PHP 4, PHP 5, PHP 7)

odbc_primarykeysGets the primary keys for a table

说明

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

Returns a result identifier that can be used to fetch the column names that comprise the primary key for a table.

参数

connection_id

ODBC 连接标识符,详见 odbc_connect()

qualifier

owner

table

返回值

Returns an ODBC result identifier 或者在失败时返回 FALSE.

The result set has the following columns:


ODBC 函数
PHP Manual