insert into alf_applied_patch ( id, description, fixes_from_schema, fixes_to_schema, target_schema, applied_to_schema, applied_on_date, applied_to_server, was_executed, succeeded, report ) values ( #id#, #description#, #fixesFromSchema#, #fixesToSchema#, #targetSchema#, #appliedToSchema#, #appliedOnDate#, #appliedToServer#, #wasExecuted#, #succeeded#, #report# ) update alf_applied_patch set description = #description#, fixes_from_schema = #fixesFromSchema#, fixes_to_schema = #fixesToSchema#, target_schema = #targetSchema#, applied_to_schema = #appliedToSchema#, applied_on_date = #appliedOnDate#, applied_to_server = #appliedToServer#, was_executed = #wasExecuted#, succeeded = #succeeded#, report = #report# where id = #id#