sql("HS"," select DISTINCT rpt_period from HS.dbo.dm_mob_preparaions_rpt where rpt_no in (select max(rpt_no) rpt_no from HS.dm_mob_preparaions_rpt where rpt_period is not null
sql("HS"," select DISTINCT rpt_period from HS.dbo.dm_mob_preparaions_rpt where rpt_no in (select max(rpt_no) rpt_no from HS.dm_mob_preparaions_rpt where rpt_period is not null