-- Table: public.vnd_aux_orcamento_controle DROP TABLE IF EXISTS public.vnd_aux_orcamento_controle; CREATE TABLE IF NOT EXISTS public.vnd_aux_orcamento_controle ( filial_orc integer NOT NULL, prox_aux_venda integer NOT NULL, controle character varying(50) NOT NULL, cliente integer NOT NULL, local_entrega integer NOT NULL, nota_fiscal_paulista character varying(14) NOT NULL, CONSTRAINT pk_vnd_aux_orcamento_controle PRIMARY KEY (filial_orc, prox_aux_venda) ) TABLESPACE pg_default; ALTER TABLE IF EXISTS public.vnd_aux_orcamento_controle OWNER to postgres; COMMENT ON TABLE public.vnd_aux_orcamento_controle IS 'Controle do Terminal';