Re: Generated Field vs Field plus Trigger
Posted by: Peter Brawley
Date: August 08, 2018 10:19PM

Really there are four sound ways to skin this cat, (i) generated virtual fields, (ii) generated stored fields, (iii) Views, (iv) a table of saved queries.

(i) is usually preferable to (ii) unless generation compromises performance. (iii) can be simpler than generated columns, and are necessary if the computation requires subqueries, params, variables stored functions or UDFs. (iv) is necessary if the computation requires a From clause subquery or if a View doesn't perform well.

Options: ReplyQuote


Subject
Written By
Posted
Re: Generated Field vs Field plus Trigger
August 08, 2018 10:19PM


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.