| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Christian Mack | Date: | March 12 1999 2:03pm |
| Subject: | Re: Inserting id's into AUTO_INCREMENT tables | ||
| View as plain text | |||
Morten wrote: > > Hey > > 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? > > Thanks > > Morten Hi Morten Certaily you can have duplicates in an AUTO_INCREMENT field. You only have to specify this field with KEY and not with PRIMARY KEY or UNIQUE KEY. Then you can insert duplicates. Tschau Christian
| 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 |
