select * from tbl_SME_Microsites where ownerId = and ownerType = order by micrositeName select * from fsenablers..tbl_CUS_WebSitesections s where s.websiteid = and s.uri like '%/SME/%' select * from qmd_sections where live = 'Y'
MicrositesTotal#val( qmd_microsites.recordCount )#Active#qmd_liveSections.recordCount#