| 
 Posted by reandeau on 06/26/06 15:13 
Try doing a "DESCRIBE myTable;" and see what it gives you for the 
"myUrl" field. 
 
 
zorro wrote: 
> Greetings, 
> 
> My database was inserting NULL for empty strings so I changed the field 
> definition with this query: 
> 
> ALTER TABLE `myTable` CHANGE `myUrl` `myUrl` VARCHAR( 255 )  NOT NULL 
> DEFAULT '' 
> 
> No error was reported following the query and yet I still get NULLs on 
> insertions. 
>  
>  
> Any ideas?
 
  
Navigation:
[Reply to this message] 
 |