I am making a database in MySQL with MySQL Worbench and I am wondering how it can help me in my database.
What is the default/expression field used for when creating a table?
I am making a database in MySQL with MySQL Worbench and I am wondering how it can help me in my database.
What is the default/expression field used for when creating a table?
The default/expression attribute sets the default value for the column when it is not provided in an insert.
For example given the following table:
Yes we do an insert
It will generate the following record: