Does WHERE have to point to PRIMARY KEY?
Moderators: egami, macek, gesf
-
- New php-forum User
- Posts: 28
- Joined: Fri Jan 03, 2003 4:00 pm
when doing an "UPDATE" or "DELETE" mySQL call, does the WHERE need to refer to the PRIMARY KEY, or can it refer to and columb name?
NO.. it is just recommended because it is faster.