Delimiter //
/**
    In batchnum Int : num du lot
*/

Drop Procedure if exists LOADER_SUMMARIES_COPY//

Create Procedure LOADER_SUMMARIES_COPY (
    In batchnum int
)
Begin
    call LOADER_SUMMARIES_SUMMARIES_UPDATE(batchnum);
    call LOADER_SUMMARIES_SUMMARIES_INSERT(batchnum);
    
End //

Delimiter ;