MySQL Forums
Forum List  »  Newbie

Re: creating a formula field in mysql
Posted by: Peter Brawley
Date: April 15, 2015 11:21AM

> create a column wherein operations ( %, +, - etc) need to be performed dyanamically after fetching the values from other columns

Create such columns with CREATE VIEW, or since version 5.7.6 with CREATE TABLE using the new GENERATED column keyword, see the manual pages for those commands.



Edited 1 time(s). Last edit at 04/16/2015 09:08AM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: creating a formula field in mysql
April 15, 2015 11:21AM


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.