SELECT IF(mydate,date_format(mydate, '%d/%m/%Y'),NULL) FROM xyz;
Kilde:http://dev.mysql.com /doc/refman/5.0/da/control-flow-functions.html
SELECT IF(mydate,date_format(mydate, '%d/%m/%Y'),NULL) FROM xyz;
Kilde:http://dev.mysql.com /doc/refman/5.0/da/control-flow-functions.html