List:General Discussion« Previous MessageNext Message »
From:Steffan A. Cline Date:January 12 2007 5:56am
Subject:Primary key
View as plain text  
Is there anyway to do a SELECT or DESCRIBE or SHOW statement which can
return the primary key field of a specified table?

Pseudo code: select primary_key_field_name from mytable.


Thanks

Steffan

---------------------------------------------------------------
T E L  6 0 2 . 5 7 9 . 4 2 3 0 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
Steffan A. Cline
Steffan@stripped                             Phoenix, Az
http://www.ExecuChoice.net                                  USA
AIM : SteffanC          ICQ : 57234309
                                  Lasso Partner Alliance Member
---------------------------------------------------------------

sql


Thread
Primary keySteffan A. Cline12 Jan
  • Re: Primary keyDan Nelson12 Jan
    • Re: Primary keySteffan A. Cline12 Jan