Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Programming General (http://siteownersforums.com/forumdisplay.php?f=44)
-   -   Why can't I have multiple auto_increment columns in the same table? (http://siteownersforums.com/showthread.php?t=53173)

eigeehte 12-12-2011 08:06 PM

Why can't I have multiple auto_increment columns in the same table?
 
I know MySQL limits auto_increment columns to primary keys. My first thought is that it's a performance restriction, since there probably is some counter table somewhere that must be locked in order to get this value.

Why can't I have multiple auto_increment columns in the same table?


All times are GMT -7. The time now is 06:10 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.