-------------获取时间段内表列
select name as tableName from [dbo].sysobjects
where type='U' and (SUBSTRING(name,12,20) >= '20150622' and SUBSTRING(name,12,20) <= '20150626')
-------------获取时间段内表列
select name as tableName from [dbo].sysobjects
where type='U' and (SUBSTRING(name,12,20) >= '20150622' and SUBSTRING(name,12,20) <= '20150626')