delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 08:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 08:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 08:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 08:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 08:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 09:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 09:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 09:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 09:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 09:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 09:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 10:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 10:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 10:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 10:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 10:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 10:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 11:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 11:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 11:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 11:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 11:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 11:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 13:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 13:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 13:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 13:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 13:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 13:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 14:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 14:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 14:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 14:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 14:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 14:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 15:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 15:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 15:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 15:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 15:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 15:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 16:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 16:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 16:00:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 16:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 16:30:00' and cod_agendamento = 0 ; delete from datas_homologacao where cod_local= 1 and data_hora = '2015-08-12 16:30:00' and cod_agendamento = 0 ;