update : 2015.11.03
php.shukuma.com

검색:
 
 
Gets the primary keys for a table

odbc_primarykeys

(PHP 4, PHP 5)

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:

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