08 2023 档案
摘要:### 一、java代码 public class GeneratorUtil { public static void generatorCode(String projectPath, String url, String name, String password, List tables,
阅读全文
摘要:-- 添加联合唯一索引 alter table add unique index (`name`, `no`, `org_id`); -- 删除索引 ALTER TABLE DROP INDEX ;
阅读全文
摘要:-- 查询进行 SHOW PROCESSLIST; -- 删除进程 kill 22459; -- 查找正在进行的 select * from information_schema.innodb_trx;
阅读全文
摘要:-- 查询某一库中所有表的名称, SELECT a.TABLE_SCHEMA ,a.TABLE_NAME ,a.TABLE_COMMENT FROM information_schema.`TABLES` a WHERE a.table_type = 'BASE TABLE' AND a.TABLE
阅读全文