CREATE TABLE vnd_aux_orcamento_item_para_liberar ( filial_orc integer NOT NULL, prox_aux_venda integer NOT NULL, sequencia integer NOT NULL, cliente integer NOT NULL, vendedor integer NOT NULL, produto integer NOT NULL, CONSTRAINT pk_vnd_aux_orcamento_item_para_liberar PRIMARY KEY (filial_orc, prox_aux_venda, sequencia) ); ------------------------------------------------------------------------------------------------------------------ DELETE FROM ctl_menu_nivel WHERE codigo = 6246; INSERT INTO ctl_menu_nivel VALUES (6246,'Embalagem',9999,'','_self','frm_vnd_orcamento_aut_tipo_entrega',5768,1);