Automatic key
| From: | Webmaster | Date: | Thu, 23 Nov 2000 04:25:50 +0000 |
| Subject: | Automatic key | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4678@lists.php.net to get a copy of this message | ||
Hello everyone,
Access has this nifty primary key that automatically increases itself
when a new record is entered. Now I am working with MySQL and the
documentation is kind of messy, does anybody knows if there is some kind
of automatic key in MySQL? And if there isn't, could anyone suggest a
piece of code to auto-generate a code that would make some sense?