ERRO
Erro ao acessar o banco de dados
SSL connection has been closed unexpectedly
select count(*) from sam.atcsam a, sam.gersam g where a.atccod=g.geratc and g.gersit='A' and g.gercod <> 963 and g.gerbox <>'MOV' and g.gergal NOT IN ('MOV', 'GP-MM', 'GP-PC') and a.atcdes NOT IN ('SERVICOS', 'MERENDAS', 'CANTINA','BANHEIRO', 'DEPOSITO', 'MEREDA')