| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Dan Nelson | Date: | April 8 2002 2:08am |
| Subject: | Re: Help with Tables Please | ||
| View as plain text | |||
In the last episode (Apr 07), Soheil Shaghaghi said: > Hi all, I have create the following mysql table, and when I try to > add more than 128 rows in the table, I get this error: "Duplicate > entry '127' for key 1" I have no duplicate entries in there, and I > can not figure out what's going on! > > CREATE TABLE CMSHOWNREQUIREDFIELDS1 ( > FieldID tinyint(4) DEFAULT '0' NOT NULL, > PRIMARY KEY (FieldID) > ); This is a FAQ. TINYINT has a range of -127 to 127. Change it to INT. -- Dan Nelson dnelson@stripped
| Thread | ||
|---|---|---|
| • Follow up question to table types | Carl Schmidt | 8 Apr |
| • Help with Tables Please | Soheil Shaghaghi | 8 Apr |
| • Re: Help with Tables Please | Dan Nelson | 8 Apr |
| • RE: Help with Tables Please | Soheil Shaghaghi | 8 Apr |
| • Re: RE: Help with Tables Please | Victoria Reznichenko | 8 Apr |
| • RE: RE: Help with Tables Please | Soheil Shaghaghi | 8 Apr |
| • Re: Help with Tables Please | Sammy Lau | 8 Apr |
| • RE: Help with Tables Please | Rick Emery | 8 Apr |
