List:General Discussion« Previous MessageNext Message »
From:LMS Date:October 27 2005 9:06pm
Subject:Re: Bug? Set Null Value in NOT NULL field...
View as plain text  
Jeff Smelser escribió:
> 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

Ok thanks for your answer, but I can't set any other property, and I 
need that it gives back an error, because it would have thus to be.

Marcelo
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