Dynamically UNION tables with similar names using SQL
We know it's not a good sign of database design to have multiple tables for the same data, but that's our case here anyway.
Suppose we have this database where revenue tables are stored in multiple tables and we want to dynamically union these tables without writing a long select every time.
Comments
Post a Comment