List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:October 17 2000 7:16pm
Subject:Re: Primary Key?
View as plain text  
In the last episode (Oct 17), Wee Chua said:
> How could I find out the value of the primary key of a field? What
> function should I use? For example, I only know the field is John
> under Employee name, how could I find out the primary key of this
> record in Employee table? Could anyone please help? Thanks in advance
> for any help!

You can get a list of the keys on a table with the "show keys from
<tablename>" command.  The primary key is called PRIMARY.

	Dan Nelson
Primary Key?Wee Chua17 Oct
  • Re: Primary Key?Dan Nelson17 Oct
  • Re: [PHP] Primary Key?jeremy brand17 Oct