We have a vendor delivered database that to this point I have been able to avoid making any database structure changes to. We will be soon directly querying the tables directly for a related project. In order to pull all of the data we need, we will need to create a big SQL statement with multiple unions.
select ... from table1
union
select ... from table2
...
select ... from tableN
Speed is the utmost priority for this project. Would it be quicker to create a view to do the joins then just query this view (and thus making changes to the vendor database) or just run the union statement from our application?
I know the potential problems involved in making changes to the vendor database so thus why I am looking for feedback.