DELETE FROM 
    rlarp.osmp
WHERE
    version like 'b26%';

INSERT INTO
    rlarp.osmp
SELECT
     "ddord#"         
    ,"dditm#"         
    ,"fgbol#"         
    ,"fgent#"         
    ,"diinv#"         
    ,"dilin#"         
    ,quoten         
    ,quotel         
    ,dcodat         
    ,ddqdat         
    ,ddrdat         
    ,fesdat         
    ,dhidat         
    ,fesind         
    ,dhpost         
    ,fspr           
    ,ddqtoi         
    ,ddqtsi         
    ,fgqshp         
    ,diqtsh         
    ,diext          
    ,ditdis         
    ,discj          
    ,dhincr         
    ,plnt           
    ,promo          
    ,rreas          
    ,terms          
    ,custpo         
    ,remit_to       
    ,bill_class     
    ,bill_cust      
    ,bill_rep       
    ,bill_terr      
    ,ship_class     
    ,ship_cust      
    ,ship_rep       
    ,ship_terr      
    ,dsm            
    ,account        
    ,shipgrp        
    ,geo            
    ,chan           
    ,chansub        
    ,orig_ctry      
    ,orig_prov      
    ,orig_post      
    ,bill_ctry      
    ,bill_prov      
    ,bill_post      
    ,dest_ctry      
    ,dest_prov      
    ,dest_post      
    ,part           
    ,stlc           
    ,colc           
    ,colgrp         
    ,coltier        
    ,colstat        
    ,sizc           
    ,uomp           
    ,suffix         
    ,accs_ps        
    ,brnd           
    ,majg           
    ,ming           
    ,majs           
    ,mins           
    ,gldco          
    ,gldc           
    ,glec           
    ,harm           
    ,clss           
    ,brand          
    ,assc           
    ,ddunit         
    ,unti           
    ,lbs            
    ,plt            
    ,plcd           
    ,fs_line        
    ,r_currency     
    ,r_rate         
    ,c_currency     
    ,c_rate         
    ,fb_qty         
    ,fb_val_loc     
    ,fb_val_loc_dis 
    ,fb_val_loc_qt  
    ,fb_val_loc_pl  
    ,fb_val_loc_tar 
    ,fb_cst_loc     
    ,fb_cst_loc_cur 
    ,fb_cst_loc_fut 
    ,calc_status    
    ,flag           
    ,odate          
    ,oseas          
    ,rdate          
    ,rseas          
    ,pdate          
    ,pseas          
    ,sdate          
    ,sseas          
    ,version        
    ,iter || ' - ' || tag iter
FROM
    rlarp.osmfs
WHERE
    version like 'b26%';
