A Case in point is getting data from tables which is generated every day with new name like below:
select table_name from INFORMATION_SCHEMA.TABLES where table_name like 'ifhcraw%';
ifhcraw_2016_03_31_24
ifhcraw_2016_04_01_8
ifhcraw_2016_04_02_14
ifhcraw_2016_04_03_20
ifhcraw_2016_04_05_8
ifhcraw_2016_04_06_14
As you can see, there is a name convention based on rule - "ifhcraw+year+month+day+hour". But the hour of generation is not known.
Is there any way to create some SQL script which can get all data from the tables "where table_name like 'ifhcraw%'"