P
Patrick Olurotimi Ige
I'm trying to add NULL to a column in the database but the sql below
isn't updating?
if (name=="")
{
strCmd += "UPDATE";
strCmd += " EMPLOYEEDETAILS SET ";
strCmd+= "name='"+null+"',designation='"+desg+"',sex='"+sex+"'
,age="+age+" , salary="+salary+" where id="+id;
}
isn't updating?
if (name=="")
{
strCmd += "UPDATE";
strCmd += " EMPLOYEEDETAILS SET ";
strCmd+= "name='"+null+"',designation='"+desg+"',sex='"+sex+"'
,age="+age+" , salary="+salary+" where id="+id;
}