SET FOREIGN_KEY_CHECKS=0;

INSERT INTO bddevfac.articles SELECT * FROM bdmenuiz.articles;
INSERT INTO bddevfac.clients SELECT * FROM bdmenuiz.clients;
INSERT INTO bddevfac.dem_devis SELECT * FROM bdmenuiz.dem_devis;
INSERT INTO bddevfac.dem_lig SELECT * FROM bdmenuiz.dem_lig;
INSERT INTO bddevfac.devis SELECT * FROM bdmenuiz.devis;
INSERT INTO bddevfac.devis_lig SELECT * FROM bdmenuiz.devis_lig;
INSERT INTO bddevfac.facture SELECT * FROM bdmenuiz.facture;
INSERT INTO bddevfac.facture_lig SELECT * FROM bdmenuiz.facture_lig;
INSERT INTO bddevfac.facture_reg SELECT * FROM bdmenuiz.facture_reg;
INSERT INTO bddevfac.facture_sui SELECT * FROM bdmenuiz.facture_sui;
INSERT INTO bddevfac.lettre SELECT * FROM bdmenuiz.lettre;
INSERT INTO bddevfac.liv_bnq SELECT * FROM bdmenuiz.liv_bnq;
INSERT INTO bddevfac.ordres SELECT * FROM bdmenuiz.ordres;
INSERT INTO bddevfac.ordres_lig SELECT * FROM bdmenuiz.ordres_lig;
INSERT INTO bddevfac.p_cabinet SELECT * FROM bdmenuiz.p_cabinet;
INSERT INTO bddevfac.p_experts SELECT * FROM bdmenuiz.p_experts;
INSERT INTO bddevfac.p_numero SELECT * FROM bdmenuiz.p_numero;
INSERT INTO bddevfac.p_societe SELECT * FROM bdmenuiz.p_societe;
INSERT INTO bddevfac.proforma SELECT * FROM bdmenuiz.proforma;
INSERT INTO bddevfac.proforma_lig SELECT * FROM bdmenuiz.proforma_lig;
INSERT INTO bddevfac.rdvous SELECT * FROM bdmenuiz.rdvous;
INSERT INTO bddevfac.rdvous_lig SELECT * FROM bdmenuiz.rdvous_lig;

SET FOREIGN_KEY_CHECKS=1;
