PRIMARY KEY vs. INDEX
| From: | Christoph Starkmann | Date: | Thu, 02 May 2002 12:13:12 +0000 |
| Subject: | PRIMARY KEY vs. INDEX | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-95679@lists.php.net to get a copy of this message | ||
Hi there!
I guess I got a very easy question for the pros here...
I've been searching the documentaion of mySQL, but didn't
find the answer (even though I'm sure it's out there
somewhere :))...
Is a primary key in mySQL automatically indexed? And is a
unique field indexed automatically ?(I don't think and
don't hope so, but one never knows)
Thanx,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:kiko@nfq.de
http://www.gruppe-69.com/
ICQ: 100601600
--