CREATE TABLE ESTSHOPPING (
  ID      VARCHAR2(100),
  IDCART  VARCHAR2(100),
  CODPROD NUMBER(6),
  QT      NUMBER(22,6),
  PVENDA  NUMBER(22,6),
  DTINCLUSAO DATE,
  DTCANCEL DATE,
  CODFUNC NUMBER(10),
  CONSTRAINT ESTSHOPPING_PK PRIMARY KEY ( ID ) 
);

ALTER TABLE ESTSHOPPING ADD DATAVENDA DATE;
ALTER TABLE ESTSHOPPING ADD NUMPED NUMBER(10);
ALTER TABLE ESTSHOPPING ADD NOMEECOMMERCE VARCHAR2(200);
ALTER TABLE ESTSHOPPING ADD URLIMAGEM VARCHAR2(200);
ALTER TABLE ESTSHOPPING ADD TIPOPRODUTO VARCHAR2(1);

ALTER TABLE ESTSHOPPING ADD CODFILIALRETIRA VARCHAR2(2);
ALTER TABLE ESTSHOPPING ADD TIPOENTREGA VARCHAR2(2);
ALTER TABLE ESTSHOPPING ADD CODUSUR NUMBER(6);

--ALTER TABLE ESTSHOPPING ADD CODPLPAG NUMBER(4);
--ALTER TABLE ESTSHOPPING ADD CODCOB VARCHAR2(4);

