2 questions

admin

Administrator
Staff member
Is there an equivalent of the MS SQLserver ISNULL(columnname,'do this') function in MYSQL.
are there defaults in MYSQL, like put CURRENT_DATE if date_col is NULL
at the table level

at the code level
ISNULL(date_col,CURRENT_DATE())
 
Back
Top