strip codes from full description fields

This commit is contained in:
Paul Trowbridge 2023-10-18 00:18:03 -04:00
parent eaf91fbacf
commit 19592685d3

View File

@ -34,11 +34,11 @@ SELECT
,NULL::text
,NULL::text
,bill_class
,bill_cust
,substring(bill_cust,1,8)
,NULL::text
,NULL::text
,ship_class
,ship_cust
,substring(ship_cust,1,8)
,NULL::text
,NULL::text
,NULL::text
@ -58,19 +58,19 @@ SELECT
,dest_post
,part
,mold
,colcd
,substring(colcd,1,3)
,colgrp
,coltierd
,substring(coltierd,1,1)
,NULL::text
,sizc
,uomp
,suffixd
,substring(suffixd,1,position(' -' IN suffixd))
,accs_ps
,brnd
,majgd
,mingd
,majsd
,minsd
,substring(majgd,1,3)
,substring(mingd,1,3)
,substring(majsd,1,3)
,substring(minsd,1,3)
,NULL::text
,NULL::text
,glec