oracle - Compatible Query for inserting null values in datafields -
this question exact duplicate of:
oracle , mysql supports (date '2013-07-01').but want store empty date in both database.this format support (date '0000-00-00')and null in mysql.this format support in (date '2013-07-01') in oracle doesn't allow null or (date '0000-00-00').how rewrite query compatible ????
for identical mysql-oracle syntax empty dates, try cast(null date). works in oracle, , i'm pretty sure works in mysql can't verify because don't have mysql available morning , sqlfiddle having 1 of bad "timeout" days.
the mysql cast documentation implies syntax ok.
Comments
Post a Comment