| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Thimble Smith | Date: | March 12 1999 3:26pm |
| Subject: | Re: Inserting id's into AUTO_INCREMENT tables | ||
| View as plain text | |||
On Fri, Mar 12, 1999 at 09:36:27AM +0100, Morten wrote: > Is it at all possible to have duplicates in an auto incremating > tables? I'd like my table id to increase when a new value is > inserted, but I'd also like duplicate values so I'm able to > insert several relations from one id... Hmm. No? It's possible (just declare the column a normal KEY instead of PRIMARY or UNIQUE). But I'd say that it's probably not the right thing to do. Your data could probably be organized in a better way if you're trying to use an auto_increment field in that way. Tim
| Thread | ||
|---|---|---|
| • Inserting id's into AUTO_INCREMENT tables | Morten | 12 Mar |
| • Re: Inserting id's into AUTO_INCREMENT tables | Thimble Smith | 12 Mar |
| • Re: Inserting id's into AUTO_INCREMENT tables | Christian Mack | 12 Mar |
| • Re: Inserting id's into AUTO_INCREMENT tables | Ed Carp | 12 Mar |
| • Re: MySQL 3.23.24 released | Jerome Abela | 11 Sep |
| • Re: MySQL 3.23.24 released | Michael Widenius | 11 Sep |
| • Re: MySQL 3.23.24 released | Dan Pelton | 12 Sep |
| • Re: MySQL 3.23.24 released | Richard Ellerbrock | 12 Sep |
| • RE: MySQL 3.23.24 released | Sander Pilon | 12 Sep |
