Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 12-12-2011, 08:06 PM   #1
eigeehte
Registered User
 
Join Date: Nov 2011
Posts: 29
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?
eigeehte is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic user submitted comment blows table out. mjvndhsb HTML / DHTML 26 11-16-2012 01:23 AM
Resizeable columns ncjbhd HTML / DHTML 2 12-12-2011 01:18 AM
Quesiton about table layout ncjbhd HTML / DHTML 1 11-28-2011 09:20 PM
statistics from mysql table ncjbhd PHP / mySQL 0 10-27-2011 01:24 AM
Exporting data of a table in mysql using php fro foxpro ncjbhd PHP / mySQL 0 09-06-2011 12:15 AM


All times are GMT -7. The time now is 09:31 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.