★ wanayoo — archive 1999 http://www.php.net/manual/function.odbc-primarykeys.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to ODBC
Quick Reference
Japanese version of this pageItalian version of this pageHungarian version of this page
ODBC
* odbc_autocommit
* odbc_binmode
* odbc_close
* odbc_close_all
* odbc_commit
* odbc_connect
* odbc_cursor
* odbc_do
* odbc_exec
* odbc_execute
* odbc_fetch_into
* odbc_fetch_row
* odbc_field_name
* odbc_field_num
* odbc_field_type
* odbc_field_len
* odbc_field_precision
* odbc_field_scale
* odbc_free_result
* odbc_longreadlen
* odbc_num_fields
* odbc_pconnect
* odbc_prepare
* odbc_num_rows
* odbc_result
* odbc_result_all
* odbc_rollback
* odbc_setoption
* odbc_tables
* odbc_tableprivileges
* odbc_columns
* odbc_columnprivileges
* odbc_gettypeinfo
* odbc_primarykeys
* odbc_foreignkeys
* odbc_procedures
* odbc_procedurecolumns
* odbc_specialcolumns
* odbc_statistics
Manual: odbc_primarykeys
View the source code for this pageSearch the site



Previous page
 odbc_gettypeinfo
 Updated
Sat, 12 Aug 2000
odbc_foreignkeys 
Next page


odbc_primarykeys

(PHP4 >= 4.0b4)

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

Description

int odbc_primarykeys (int connection_id, string qualifier, string owner, string table)

Returns the column names that comprise the primary key for a table. Returns an ODBC result identifier or false on failure.

The result set has the following columns:

  • TABLE_QUALIFIER

  • TABLE_OWNER

  • TABLE_NAME

  • COLUMN_NAME

  • KEY_SEQ

  • PK_NAME


 About Notes


Previous page
 odbc_gettypeinfo
 Updated
Sat, 12 Aug 2000
odbc_foreignkeys 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.