> 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)

Kind of off topic, but yes, they are both indexed. Use SHOW INDEX FROM
table_name to see the indexes.

---John Holmes...

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to