odbc_primarykeys

(PHP 4, PHP 5, PHP 7)

odbc_primarykeysGets the primary keys for a table

说锟斤拷

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

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:

  • TABLE_QUALIFIER
  • TABLE_OWNER
  • TABLE_NAME
  • COLUMN_NAME
  • KEY_SEQ
  • PK_NAME