MySQL Forums
Forum List  »  MySQL Workbench

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


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

Written By
How to use default/expression generated column ?
February 28, 2017 12:51PM

Sorry, you can't reply to this topic. It has been closed.

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.