View Single Post

  #4 (permalink)  
Old 12-19-2007
Rik Wasmus
 
Posts: n/a
Default Re: value by default 0

On Wed, 19 Dec 2007 14:38:34 +0100, Pierre Gilquin <inconnue@bluewin.ch>
wrote:
> It's something like that :


'something like' is not what I'm looking for. Could you post the full
definitions? Just run SHOW CREATE TABLE <tablename>. It really saves time
to see the definitions and pinpoint it directly instead of trying to list
all possible reasons why this could/should fail.

> ALTER TABLE interaction ADD PRIMARY KEY (ID);


This is never in a CREATE TABLE syntax.
--
Rik Wasmus
Reply With Quote