Re: Primary Key?

From: Date: Tue, 17 Oct 2000 19:16:06 +0000
Subject: Re: Primary Key?
References: 1  Groups: php.db php.general 
Request: Send a blank email to php-general+get-20688@lists.php.net to get a copy of this message
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 dnelson@emsphone.com

« previous php.general (#20688) next »