sql - Difference between NULL and Blank Value in Mysql -
i have check value of particular column named result blank or not.
when check  if result null, query failed, when checked result='', worked.
what difference between two.
please explain.
"update rls_tp_2012_03 a, rls_tp_2012_03 b set a.comment=b.comment b.tcode='t1199' ,  a.groupname='xyz' , a.hlabno=b.hlabno , a.result =''; ";    "update rls_tp_2012_03 a, rls_tp_2012_03 b set a.comment=b.comment b.tcode='t1199' ,  a.groupname='xyz' , a.hlabno=b.hlabno , a.result null; "      
nullabsence of value. empty string value, empty.nullspecial database.nullhas no bounds, can usedstring,integer,date, etc. fields in database.nullisn't allocated memory,stringnullvalue pointer pointing in memory. however, empty allocated memory location, although value stored in memory"".
Comments
Post a Comment