List:General Discussion« Previous MessageNext Message »
From:Jeff Smelser Date:October 27 2005 8:22pm
Subject:Re: Bug? Set Null Value in NOT NULL field...
View as plain text  
On Wednesday 26 October 2005 04:24 pm, LMS wrote:
> Hi,
> I have this structure:
> -----------------------------------------------
> CREATE TABLE tabla (
>    id int(10) unsigned NOT NULL auto_increment,
>    nombre varchar(100) NOT NULL default '',

because your defaulting it to ''.. so null = '' on insert..

Jeff

Attachment: [application/pgp-signature]
Thread
Bug? Set Null Value in NOT NULL field...LMS27 Oct
  • Re: Bug? Set Null Value in NOT NULL field...Jeff Smelser27 Oct
    • Re: Bug? Set Null Value in NOT NULL field...LMS27 Oct
      • Re: Bug? Set Null Value in NOT NULL field...Joerg Bruehe28 Oct