本人写此随笔时,是在做进销存库存业务时出现了前后数量不等的情况才做一下记录和分享,之前我们很多的开发人员再存储过程中喜欢select......into form 表 将需要的字段数据放入到变量,然后再在随后的业务中后对变量进行修改后,再update回表中,而这时就会导致脏数据的出现; 对此,我认为 ...
分类:
数据库 时间:
2020-06-23 15:54:09
阅读次数:
71
1.概述:全文搜索属于最常见的需求,开源的 Elasticsearch (以下简称 Elastic)是目前全文搜索引擎的首选。Elastic 的底层是开源库 Lucene。但是,你没法直接用 Lucene,必须自己写代码去调用它的接口。Elastic 是 Lucene 的封装,提供了 REST AP ...
分类:
Web程序 时间:
2020-06-23 15:02:00
阅读次数:
62
sherrysack关注 2017.10.24 13:02:25字数 76阅读 2,394 While I was trying to download wine1.7 on Ubuntu, after I add the related repository, and execute sudo a ...
分类:
Web程序 时间:
2020-06-23 13:44:59
阅读次数:
82
官方文档说明:https://support.apple.com/zh-cn/HT208050 macOS Catalina 版开始 终端会提示 The default interactive shell is now zsh. To update your account to use zsh, ...
分类:
系统相关 时间:
2020-06-23 13:29:25
阅读次数:
109
备份文件: # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors tha ...
分类:
其他好文 时间:
2020-06-23 11:43:38
阅读次数:
63
ls /usr/bin/python* sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 sudo update-alternatives --install /usr/bin/python ...
分类:
编程语言 时间:
2020-06-23 11:42:43
阅读次数:
72
dockerfile: FROM founder/mysql:5.7 RUN apt-get update && apt-get update ; apt-get install -y parallel && chown -R mysql:mysql /docker-entrypoint-initd ...
分类:
数据库 时间:
2020-06-22 23:18:11
阅读次数:
68
update top(1) Products with(updlock,readpast) set Status = 1 output Deleted.Id as PoolSkuId from (select top 1 Id from Products where Deleted = 0 and ...
分类:
数据库 时间:
2020-06-22 22:41:27
阅读次数:
82
貌似CentOS 6.X系统默认安装的Python都是2.6版本的?平时使用以及很多的库都是要求用到2.7版本或以上,所以新系统要做的第一件事必不可少就是升级Python啦!在这里做个简单的升级操作记录 :) 0. 依赖安装 1 2 3 4 5 yum -y update yum install e ...
分类:
编程语言 时间:
2020-06-22 21:02:27
阅读次数:
56
方式一、yum安装 # yum info git Failed to set locale, defaulting to C Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Available Pack ...
分类:
其他好文 时间:
2020-06-22 20:53:13
阅读次数:
45