Previous Topic: UNION in View for Large Table DesignNext Topic: Limitations of UNION in a View


Advantages of UNION in a View

By separating the data into different tables and creating the view over the tables, you can create a logical account history table with these distinct advantages over a single physical table:

DB2 distributes predicates against the view to every query block within the view and then compares the predicates. Any impossible predicates will result in the query block being pruned (not executed).