Re: Primary Key?
| From: | jeremy brand | Date: | Tue, 17 Oct 2000 19:18:34 +0000 |
| Subject: | Re: Primary Key? | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-general+get-20689@lists.php.net to get a copy of this message | ||
from the mysql monitor:
mysql> desc table_name;
-jeremy brand
_______________________________________________________________________
GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
_ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more __
On Tue, 17 Oct 2000, Wee Chua wrote:
> Date: Tue, 17 Oct 2000 15:05:55 -0400
> From: Wee Chua <Chua@mail.interclean.com>
> To: "PHP (E-mail)" <php-general@lists.php.net>,
"Php-Db (E-mail)" <php-db@lists.php.net>,
"Php-Db-Help (E-mail)" <php-db-help@lists.php.net>,
"MySQL (E-mail)" <mysql@lists.mysql.com>
> Subject: [PHP] Primary Key?
>
> Hi all,
> 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!
>
> Calvin
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>