问题: 在python学习过程中,使用pip命令提示:Unknown or unsupported command 'install' 原因: 使用where命令查找下pip的安装位置,发现Loadrunner里面也有pip,系统不知道该识别哪个pip 解决方法: 使用pip的决定路径来执行pip命 ...
分类:
其他好文 时间:
2020-07-23 15:56:43
阅读次数:
76
where is C used ? C 语言的应用场景 C is widely used C语言被广泛应用于: For creating desktop applications 用于创建桌面应用程序 For developing games 游戏开发 For designing Operating ...
分类:
编程语言 时间:
2020-07-23 09:12:31
阅读次数:
75
CSRF (Cross Site Request Forgery)即跨站请求伪造,是一种挟制用户在当前已登录的Web应用程序上执行非本意的操作的攻击方法 ...
分类:
其他好文 时间:
2020-07-22 23:28:09
阅读次数:
68
select * from table where id=1 and uid=2 and (status=2 or status=3 or status=4); 以下个人使用案例:多个字段,查询条件 格力 SELECT a.sid, a.spid, a.sname, a.spic, a.sprice ...
分类:
数据库 时间:
2020-07-22 16:02:21
阅读次数:
87
Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums except n ...
分类:
其他好文 时间:
2020-07-22 15:50:36
阅读次数:
67
数据重复了,只需要其中一条 -- id 重复了,取出其中一条 SELECT id,member_seq,point,gmt_create FROM XXXX WHERE and gmt_create > "2020-07-20 00:00:00" and gmt_create < "2020-07- ...
分类:
数据库 时间:
2020-07-22 11:43:11
阅读次数:
90
WebApiResult为封装公用方法,不是微软自带,此段代码指是做画龙点睛作用,添加队列、异步消费等 public async Task AuthentDeal() { //从数据库查询要处理的队列 var batchList = _MySqlMasterDb.tab1.Where(p => p. ...
分类:
编程语言 时间:
2020-07-22 11:23:11
阅读次数:
156
事务四大特性 1.原子性:不可分割的操作单元,事务中所有操作,要么全部成功;要么撤回到事务执行之前的状态 2.一致性:如果在执行事务之前数据库是一致性的,那么在执行事务后数据库也还是一致的 3.隔离性:事务操作之间彼此独立和透明互不影响。事务独立运行。这通常使用锁来实现。一个事务处理后的结果,影响了 ...
分类:
数据库 时间:
2020-07-22 01:47:17
阅读次数:
86
在书写sql语句时,常常用?作为占位符来使用,因为可以防止sql注入,所表示的内容不会被解析成sql的关键字! 但在某些情况下,你的sql语句中需要包含sql语句中的关键字时,这时候再使用占位符,可能会引发错误! 例如: QueryRunner queryRunner = new QueryRunn ...
分类:
数据库 时间:
2020-07-21 23:04:54
阅读次数:
258
UPDATE `test`SET `code` = ( CASE WHEN `id` = 1 THEN 11 WHEN `id` = 2 THEN 22 WHEN `id` = 3 THEN 33 END )WHERE `id` IN (1, 2, 3); ...
分类:
数据库 时间:
2020-07-21 22:17:14
阅读次数:
163