Re: mysql auto increment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux