DROP TABLE /*IF EXISTS*/ rlarp.plcore;

CREATE TABLE rlarp.plcore (
    stlc            varchar(8)
    ,coltier        varchar(1)
    ,branding       varchar(1)
    ,accs           varchar(5)
    ,suff           varchar(5)
    ,uomp           varchar(5)
    ,vol_uom        varchar(5)
    ,vol_qty        numeric(18,5)
    ,vol_price      numeric(18,5)
    ,listcode       varchar(5)
    ,orig_row       numeric(18,5)
    ,orig_col       numeric(18,5)
);

--CREATE UNIQUE INDEX plcore_pk ON rlarp.plcore (stlc, coltier, branding, accs, suff, uomp, listcode);
