CREATE TABLE public.cmi_aux_comissao_vendedor_faturado ( ip varchar NOT NULL, filial integer NOT NULL, orcamento integer NOT NULL, seq_ped integer NOT NULL, ficha integer NOT NULL, seq_ficha integer NOT NULL, fator numeric(18,6) NOT NULL, CONSTRAINT pk_cmi_aux_comissao_vendedor_faturado PRIMARY KEY (ip,filial, orcamento, seq_ped) ) TABLESPACE pg_default; ALTER TABLE public.cmi_aux_comissao_vendedor_faturado OWNER to postgres;