table = db.exec_sql("""insert into dw.part_subject ( part_name, part_type, part_status, reg_date, source_id, source) select case when iccard_name is n ...
分类:
数据库 时间:
2020-06-01 21:00:53
阅读次数:
525
When you change the name of the computer that is running SQL Server, the new name is recognized during SQL Server startup. You do not have to run Setu ...
分类:
数据库 时间:
2020-06-01 20:53:21
阅读次数:
104
题目如下: Given a string s of zeros and ones, return the maximum score after splitting the string into two non-empty substrings (i.e. left substring and r ...
分类:
其他好文 时间:
2020-06-01 18:02:06
阅读次数:
65
Hello 各位,这里是新治的第二篇博客,今天要解的这道题是LeetCode第七题,整数反转,先来读一下题: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 ...
分类:
编程语言 时间:
2020-06-01 12:03:41
阅读次数:
72
数据库主从出错: Slave_IO_Running: No 一方面原因是因为网络通信的问题也有可能是日志读取错误的问题。以下是日志出错问题的解决方案: Last_IO_Error: Got fatal error 1236 from master when reading data from bin ...
分类:
其他好文 时间:
2020-05-31 21:49:50
阅读次数:
90
Tool:Launch X431 V,LAUNCH X431 V+,etc. Module:2009 Land Rover Discovery 3,VIN:SALAN25489A50****; Function:When finding DTC in ABS steering angle or re ...
分类:
其他好文 时间:
2020-05-31 19:36:41
阅读次数:
63
hashlib — Secure hashes and message digests — Python 3.8.3 documentation https://docs.python.org/3.8/library/hashlib.html For better multithreading pe ...
分类:
编程语言 时间:
2020-05-29 21:46:45
阅读次数:
110
--步骤1select c.CodeName '点位',r.PASSDATETIME '时间',r.VLPN '车牌',r.VLPNCOLOR '车牌颜色',r.No 'NO',sf '不透光',case when IsValid=0 then '无效' else '有效' end '数据有效性', ...
分类:
其他好文 时间:
2020-05-27 18:41:34
阅读次数:
78
SQL语句,使用case when 实现批量更新数据 update table_name set status = case id when 1 then '正常' when 2 then '禁用' when 3 then '过期' end, rank = case id when 1 then 1 ...
分类:
数据库 时间:
2020-05-27 18:21:12
阅读次数:
120
一、nnlog日志模块,使用之前,需要先pip安装下 import nnlog import traceback log=nnlog.Logger('python.log',level='debug',when='D',backCount=5) # when D是每天 M每月 S每秒 # 日志级别 ...
分类:
其他好文 时间:
2020-05-26 20:48:16
阅读次数:
96