spool SM_1654_dbcgo.log SELECT count(*) FROM dbcgo_gestione_richiesta_rec where sistema_mittente is null and dataricezionerichiesta > to_date('15/04/2007', 'dd/mm/yyyy'); UPDATE dbcgo_gestione_richiesta_rec set sistema_mittente = 'BIT' where dataricezionerichiesta > to_date('15/04/2007', 'dd/mm/yyyy') and sistema_mittente is null; commit; spool off;