Posted By

jlmarks on 03/30/14


Tagged

mysql date


Versions (?)

Add current date to date field that is null


 / Published in: MySQL
 

  1. UPDATE `table` SET `datefield`=CURDATE() WHERE `datefield` IS NULL

Report this snippet  

You need to login to post a comment.