码迷,mamicode.com
首页 >  
搜索关键字:sql语句-case when then    ( 7150个结果
SQL判断 一个字段为空时,取出另一个字段数据
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
Rename a Computer that Hosts a Stand-Alone Instance of SQL Server
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
【leetcode】1422. Maximum Score After Splitting a String
题目如下: 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
【LeetCode 力扣】7. Reverse Integer 整数反转 Java 解法
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
'COULD NOT FIND FIRST LOG FILE NAME IN BINARY LOG INDEX FILE'的解决办法
数据库主从出错: 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
2009 Land Rover Discovery 3 ABS Steering Angle Sensor Calibration Learning with launch X431 Diagnostic Tool
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
为了更好的多线程性能,在对象创建或者更新时,若数据大于2047字节则 Python 的 GIL 会被释放。 执行计算密集型任务如压缩或哈希时释放 GIL
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 实现批量更新数据
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+traceback)
一、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
7150条   上一页 1 ... 23 24 25 26 27 ... 715 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!