U krijgt alle tabelnamen van INFORMATION_SCHEMA.TABLES. Dus pas gewoon uw criteria toe om ze te krijgen:
select table_name
from information_schema.tables
where table_type = 'BASE TABLE'
and table_name like 'xx\_______\_T' escape '\'
and table_name >= 'xx_' + CAST(@FirstTableMonth as varchar) + '_T';
SQL-viool:http://www.sqlfiddle.com/#!6/7b4f5/ 2