pkey

pkey

Name

pkey -- return the primary key of a table

Synopsis

pkey(table)

Parameters

table

name of table.

Return Type

string

Name of field which is the primary key of the table.

Description

pkey() method returns the primary key of a table. Note that this raises an exception if the table does not have a primary key.

Home
Online Resources
General
Beginner Tutorials
MySQL
PostgreSQL
Oracle
mSQL
Microsoft SQL
Contact Us
Random quote of the moment:
I know you're in search of yourself, I just haven't seen you anywhere.
 
http://www.sql.org/
 
Proudly designed and hosted by OmegaSphere, providers of all your Web Hosting, SSL Certificate, and Domain Name needs!