Master配置 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_connect_timeout 30 ...
分类:
其他好文 时间:
2021-04-27 14:42:00
阅读次数:
0
select a.id,a.userid,c.openid from ko_answer_score a left join (select userid from ko_answer_log where answer_time > '2018-02-24 00:00:00' and answer_ ...
分类:
其他好文 时间:
2021-04-27 14:38:46
阅读次数:
0
上一篇讲了用 python 提取字符串中的数字,这次用VBA来事项。总体思路和 python 是一样的,代码如下: Option Explicit Sub GetNumbers() Dim from_string As String, convert_numbers As String Dim i, ...
分类:
编程语言 时间:
2021-04-27 14:37:45
阅读次数:
0
字符串时间转datetime时间 from datetime import datetime b='2021-04-26 11:23:56' c = datetime.strptime(b, "%Y-%m-%d %H:%M:%S") print(c) # datetime.datetime(2021 ...
分类:
编程语言 时间:
2021-04-27 14:35:01
阅读次数:
0
ON DUPLICATE KEY UPDATE作用 先声明一点,ON DUPLICATE KEY UPDATE为Mysql特有语法,这是个坑语句的作用,当insert已经存在的记录时,执行Update 用法 什么意思?举个例子:user_admin_t表中有一条数据如下 表中的主键为id,现要插入一 ...
分类:
其他好文 时间:
2021-04-27 14:30:19
阅读次数:
0
1 Could not execute Write_rows event on table cs3.test01; Duplicate entry ‘7‘ for key ‘test01.PRIMARY‘ 1.1 主库操作 SHOW BINARY LOGS; PURGE BINARY LOGS TO ...
分类:
数据库 时间:
2021-04-27 14:28:23
阅读次数:
0
ESLint模式下for in遍历对象会报错,可以这样解决: let val = { shu: [1, 2, 3] }; for (let item in val) { if (val.hasOwnProperty(item)) { console.log(item); } } 因为我们在遍历一个对 ...
分类:
移动开发 时间:
2021-04-27 14:25:28
阅读次数:
0
1、说明:创建数据库 CREATE DATABASE database - name 2、说明:删除数据库 drop database dbname 3、说明:备份sql server 创建 备份数据的 device USE master EXEC sp_addumpdevice 'disk' , ...
分类:
数据库 时间:
2021-04-27 14:15:48
阅读次数:
0
SQL:structure query language select:查询,从表中查询符合条件的数据 select 列 顺序,格式 from 表 where 条件 group by 列 having order by 列 查询表中所有的列,用* select * from emp 查询表中具体的列 ...
分类:
数据库 时间:
2021-04-27 14:15:06
阅读次数:
0
最小值点有4个 import numpy as np from mpl_toolkits.mplot3d import Axes3D from matplotlib import pyplot as plt import torch def himmelblau(x): return (x[0] * ...
分类:
其他好文 时间:
2021-04-27 14:12:10
阅读次数:
0