
MySQL
文章平均质量分 51
宁芯
这个作者很懒,什么都没留下…
展开
-
SQL脚本更新至pdm
一、 处理数据库脚本ENGINE=InnoDB AUTO_INCREMENT=\d+ DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT二、 根据以下步骤,打开pdm软件,选择需要逆向转化的SQL脚本文件三、使用script脚本将注释comment转name四、添加外键依赖五、完成,上传git,标注更新至XXX备注:在pdm里查找表,Ctl+F...原创 2021-05-26 11:03:17 · 256 阅读 · 0 评论 -
MySQL-统计字符出现次数+查询数据库状态+脏数据生成存储过程
1、统计字符出现次数select * from sys_ehrdepartment where dep_name like 'FTU%' AND (length(layer_path)-length(replace(layer_path,'/','')))<42、查询数据库状态show status like '%read';---吞吐量show status like 'up...原创 2018-04-19 09:21:27 · 296 阅读 · 0 评论 -
mysql小知识总结
SHOW PROCESSLIST; 数据库死锁 进程查看-- 查询自增长步长SHOW VARIABLES LIKE 'auto_inc%';-- 查询自增长 字段下一个值select auto_increment_increment from information_schema.tables where table_schema='数据库名' and table_name='表明';...原创 2018-07-23 11:41:30 · 217 阅读 · 0 评论 -
pdm应用
1、mysql的sql脚本生成pdm文件2、将sql脚本里的comment的内容替换成name列的内容运行的脚本:Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl ' the current model ...原创 2018-11-06 08:59:40 · 358 阅读 · 0 评论