diff --git a/route_sql/new_basket.sql b/route_sql/new_basket.sql index 89c8553..a29819f 100644 --- a/route_sql/new_basket.sql +++ b/route_sql/new_basket.sql @@ -246,7 +246,7 @@ SELECT ,mxm.r_currency ,jr.bill_cust_descr ,jr.ship_cust_descr - ,(regexp_match(jr.part_descr,'(.*?)(?= - |$)'))[1] part + ,rtrim((regexp_match(jr.part_descr,'(.*?)(?= - |$)'))[1]) part ,jr.part_descr ,substring(jr.part_descr,1,8) part_group ,mxm.qty*mxm.momix*jr.mix units