| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Mark Goodge | Date: | December 11 2009 10:19am |
| Subject: | Re: Update Doesn't Update! | ||
| View as plain text | |||
Jørn Dahl-Stamnes wrote: > On Friday 11 December 2009 10:38, Victor Subervi wrote: >> Hi; >> >> mysql> update products set sizes="('Small', 'Large')" where ID=0; >> Query OK, 0 rows affected, 1 warning (0.00 sec) >> Rows matched: 1 Changed: 0 Warnings: 1 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Look at the message, 0 rows changed and 1 warning. > You cannot have ID=0 if ID is an index. You can, but not if it's an auto-increment field. Mark
| Thread | ||
|---|---|---|
| • Update Doesn't Update! | Victor Subervi | 11 Dec |
| • Re: Update Doesn't Update! | carsten | 11 Dec |
| • Re: Update Doesn't Update! | Victor Subervi | 11 Dec |
| • Re: Update Doesn't Update! | carsten | 11 Dec |
| • Re: Update Doesn't Update! | Victor Subervi | 11 Dec |
| • Re: Update Doesn't Update! | carsten | 11 Dec |
| • Re: Update Doesn't Update! | Victor Subervi | 11 Dec |
| • Re: Update Doesn't Update! | Jørn Dahl-Stamnes | 11 Dec |
| • Re: Update Doesn't Update! | Victor Subervi | 11 Dec |
| • Re: Update Doesn't Update! | Victor Subervi | 11 Dec |
| • RE: Update Doesn't Update! | misiaQ | 11 Dec |
| • Re: Update Doesn't Update! | carsten | 11 Dec |
| • Re: Update Doesn't Update! | Chris Knipe | 11 Dec |
| • Re: Update Doesn't Update! | Mark Goodge | 11 Dec |
| • Re: Update Doesn't Update! | Johan De Meersman | 11 Dec |
| • Re: Update Doesn't Update! | Victor Subervi | 11 Dec |
| • Re: Update Doesn't Update! | Johan De Meersman | 11 Dec |
| • Re: Update Doesn't Update! | Martijn Tonies | 11 Dec |
| • Re: Update Doesn't Update! | Yang Wang | 11 Dec |
