|
GTUTO https://www.gtuto.com/mysql-modifie-toutes-les-tables-dune-base/ Export date: Fri Dec 5 7:35:29 2025 / +0000 GMT |
MYSQL modifie toutes les tables d'une baseUSE INFORMATION_SCHEMA;
SELECT
CONCAT("ALTER TABLE ", TABLE_SCHEMA ,".", TABLE_NAME, "ENGINE=MEMORY;")
AS MySQLCMD FROM TABLES
WHERE TABLE_SCHEMA = "MA_BASE";
Liste tous les champs d'une table dans un tableau PHP USE INFORMATION_SCHEMA;
SELECT
CONCAT('$variable["', COLUMN_NAME ,'"]')
FROM COLUMNS
WHERE TABLE_SCHEMA = "mabase" AND TABLE_NAME='matable';
|
|
Post date: 2020-05-24 00:47:47 Post date GMT: 2020-05-24 00:47:47 Post modified date: 2021-02-08 02:15:16 Post modified date GMT: 2021-02-08 02:15:16 |
|
Export date: Fri Dec 5 7:35:29 2025 / +0000 GMT This page was exported from GTUTO [ https://www.gtuto.com ] Export of Post and Page has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com |