上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 102 下一页
摘要: 原文:https://www.imooc.com/article/305617 SQL中包含以下七种类型的函数: 聚合函数:返回汇总值。 转型函数:将一种数据类型转换为另外一种。 日期函数:处理日期和时间。 数学函数:执行算术运算。 字符串函数:对字符串、二进制数据或表达式执行操作。 系统函数:从数 阅读全文
posted @ 2021-10-17 22:58 liujiacai 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.51cto.com/u_2853725/1377345 有时,我们在mysql中运行一些命令,我们按键盘向上方向键会一一列出来。如何查看命令历史呢,就像在linux下的shell中查看shell命令历史。mysql 有这样一个机制,就是,在用户的主目录下会生成一个.m 阅读全文
posted @ 2021-10-17 18:15 liujiacai 阅读(735) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.modb.pro/db/12232 前言 之前在项目的存储过程中发现有通过 DECLARE 关键字定义的变量如DECLARE cnt INT DEFAULT 0;,还有形如 @count 这样的变量,存储过程中拿过来直接就进行设置,像这样set @count=1;,这两 阅读全文
posted @ 2021-10-17 17:54 liujiacai 阅读(824) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.cnblogs.com/zzjdbk/p/12992305.html. 【1】@@datadir 函数作用:返回数据库的存储目录构造SQL语句 select @@datadir;ps:@@basedir返回mysql的根目录【2】@@version_compile_os 阅读全文
posted @ 2021-10-17 17:37 liujiacai 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 原文:https://zhuanlan.zhihu.com/p/71134861 ps = session.query(Person).first() print(ps) ​ # 3、修改制定行数据 person = session.query(Person).first() print(perso 阅读全文
posted @ 2021-10-17 16:35 liujiacai 阅读(1581) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.cnblogs.com/DBArtist/p/15320295.html 一:设置服务器默认字符集为 utf8mb4 创建数据库时,如果没有指定字符集,会采用服务器的默认字符集。设置服务器默认字符集为 utf8mb4 可以提高便利性。 编辑 MySQL 的配置文件,修改 阅读全文
posted @ 2021-10-17 15:53 liujiacai 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 原文:https://zhuanlan.zhihu.com/p/141205262 VScode简介 由微软推出的一款轻量级编辑器,拥有大量可拓展插件,可以根据自己的需求添加插件使编辑器的功能丰富起来。VScode和Sublime Text应该是最受欢迎的两款编辑器,本文将介绍在Windows下如何 阅读全文
posted @ 2021-10-13 00:49 liujiacai 阅读(784) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.cnblogs.com/qingchengzi/p/9633616.html 一、安装和使用 fake_useragent第三方库,来实现随机请求头的设置; GitHub > https://github.com/hellysmile/fake-useragent 安装 阅读全文
posted @ 2021-10-12 23:00 liujiacai 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 原文:https://zhuanlan.zhihu.com/p/139783331 之前如果要使用 python 操作文件路径,我总是会条件反射导入 os.path。 而现在,我会更加喜欢用新式的 pathlib, 虽然用得还是没有 os.path 熟练,但是以后会坚持使用。 pathlib 库从 阅读全文
posted @ 2021-10-11 23:58 liujiacai 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 原文:https://google-styleguide.readthedocs.io/zh_CN/latest/google-python-styleguide/contents.html Python 风格指南 - 内容目录 扉页 背景 Python语言规范 Lint 导入 包 异常 全局变量 阅读全文
posted @ 2021-10-11 23:07 liujiacai 阅读(59) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 102 下一页