MySQL Forums :: MySQL Workbench :: How to use default/expression generated column ?


Advanced Search

How to use default/expression generated column ?
Posted by: marc-antoine yonga ()
Date: February 28, 2017 12:51PM

Hello,

For certains and particulars reason I want to use the default/expression generated column box in MySQL Workbench.

For exemple, how to insert the current date :

the code would be :
Column_Date DATE;

Default/Expression : curdate()

For an other exemple I want to call a stocked procedure in the default/expression box :

the code would be :
Column_1 CHAR();
Default/Expression : call new_procedure1()

Thanks !

Options: ReplyQuote


Subject Views Written By Posted
How to use default/expression generated column ? 124 marc-antoine yonga 02/28/2017 12:51PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.