<!--% USE DBI(constants.driver, constants.user, constants.password) %--> <!--% FOREACH host IN DBI.query( 'select h.hostid from hosts as h' ) %--> ,<!--% host.hostid %--> <!--% END %-->