MariaDB DEFAULT column VALUE
Par PlaceOweb le mardi, mai 10 2016, 21:15 - SQL - Lien permanent
How to retrieve default column value ? Simply using the miscellaneous DEFAULT(col_name) function.
UPDATE my_table SET my_col_1 = DEFAULT(my_col_1), my_field = DEFAULT(my_field) WHERE id = 123