Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2004071

Re: [PHP-DB] mysql auto increment From: Jonathan Haddad (jon <email protected>)
Date: 07/13/04

There might be some system that requires a 4 digit number and the PK is
being used directly. Also, this same system might need to be exported
to Excel, which trims leading zeros and is generally a pain in the ass.

Peter Westergaard wrote:

>I've done exactly this for a really cheap-and-dirty instance where two
>people were doing bulk data entry into two different instances of a mysql
>table which would eventually be stitched together. by giving one a higher
>range, the data migration afterwords was very easy.
>
>Other than that, can't imagine a use for this approach.
>
>-P
>
>
>

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