I want to insert a zero in a record that contains a null value by updating that table. I have used the following code but to no avail.
Statement statementXIV = db.createStatement("UPDATE Temp54 SET bal53 = '0' WHERE balan = NULL ");
statementXIV.prepare();
statementXIV.execute();
statementXIV.close();
What is the right way to use a null
in a WHERE
clause?