not null usage in mysql
- by pradeep
Hi,
I use syntax like name varchar(20) NOT NULL in mysql..i have a big confusion over here.
typically does it mean that this field is mandatory?
but when i store a space in this field it accepts it.is it correct. its like while insert i say '".$_POST['name']."'. even if the name does not have any value query is executed.
can any1 just clarify me on this ?
is NULL and blank space same ?