Estoy haciendo pruebas en una instalación local y quiero eliminar los datos de la base de datos para volver a importar y hacer nuevas pruebas.
Por si a alguien le es de utilidad, o me sugiere algún cambio, entro en PHPMyAdmin y en SQL ejecuto ésto:
Código: Seleccionar todo
SET FOREIGN_KEY_CHECKS=0;
TRUNCATE TABLE `llx_product_price_by_qty`;
TRUNCATE TABLE `llx_product_price`;
TRUNCATE TABLE `llx_categorie_product`;
TRUNCATE TABLE `llx_product`;
TRUNCATE TABLE `llx_product_fournisseur_price`;
TRUNCATE TABLE `llx_societe`;
TRUNCATE TABLE `llx_societe_address`;
TRUNCATE TABLE `llx_societe_commerciaux`;
TRUNCATE TABLE `llx_socpeople`;
SET FOREIGN_KEY_CHECKS=1;
Gracias.