Citation:
voici la structure des 2 tables:
Stocker (CodPro:Var(6), DateStock:Datetime, Heure: Var(12), Nature:Var(8), QteIni, Qte, QteFin)
Tampon1(Numero:Var(6), Intitulé:Var(60), QteIni, Qte, QteFin, Prix1, Montant1, Mont1)
Il y a du mieux mais je ne vois nulle part les indications d'index !
Citation:
CREATE TABLE `ps_carrier` (
`id_carrier` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`id_reference` INT(10) UNSIGNED NOT NULL,
`id_tax_rules_group` INT(10) UNSIGNED NULL DEFAULT 0,
`name` VARCHAR(64) NOT NULL,
`url` VARCHAR(255) NULL DEFAULT NULL,
`active` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0,
`deleted` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0,
`shipping_handling` TINYINT(1) UNSIGNED NOT NULL DEFAULT 1,
`range_behavior` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0,
`is_module` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0,
`is_free` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0,
`shipping_external` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0,
`need_range` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0,
`external_module_name` VARCHAR(64) NULL DEFAULT NULL,
`shipping_method` INT(2) NOT NULL DEFAULT 0,
`position` INT(10) UNSIGNED NOT NULL DEFAULT 0,
`max_width` INT(10) NULL DEFAULT 0,
`max_height` INT(10) NULL DEFAULT 0,
`max_depth` INT(10) NULL DEFAULT 0,
`max_weight` DECIMAL(20,6) NULL DEFAULT 0.000000,
`grade` INT(10) NULL DEFAULT 0,
PRIMARY KEY (`id_carrier`),
INDEX `deleted` (`deleted`, `active`),
INDEX `id_tax_rules_group` (`id_tax_rules_group`),
INDEX `reference` (`id_reference`, `deleted`, `active`)
)