MySQL Forums
Forum List  »  Newbie

Re: set a column in dependency of two others
Posted by: Peter Brawley
Date: January 20, 2015 11:41AM

If a column is entirely computable from other columns, unless the computation is so costly it's more efficient to store the result rather than display it, it's probably better to define the dependent column as a virtual column in a View.

Options: ReplyQuote


Subject
Written By
Posted
Re: set a column in dependency of two others
January 20, 2015 11:41AM


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.