+1
Completed

Default value for NOT NULL columns

Yaniv Nagar 5 years ago updated by Support 5 years ago 2

Right now I can define a column as NOT NULL but without a default value lile CURDATE or default int or enum value etc...

Answer

Answer
Completed

User can add default value constraint on a column, even if the column is defined as NOT NULL, as show below:




Answer
Completed

User can add default value constraint on a column, even if the column is defined as NOT NULL, as show below: