01 2020 档案

摘要:https://www.cnblogs.com/xqschool/p/8578508.html https://www.cnblogs.com/liea/p/11993222.html https://www.cnblogs.com/zsy/p/5336651.html 微信支付遇到签名验证失败的解 阅读全文
posted @ 2020-01-21 14:53 BloggerSb 阅读(339) 评论(0) 推荐(0) 编辑
摘要:设置成功返回 1 。 当 key 不存在或者不能为 key 设置生存时间时(比如在低于 2.1.3 版本的 Redis 中你尝试更新 key 的生存时间),返回 0 。 源文:https://blog.csdn.net/u012045045/article/details/82901876 阅读全文
posted @ 2020-01-21 14:11 BloggerSb 阅读(2378) 评论(0) 推荐(0) 编辑
摘要:复合索引的建立需要进行仔细分析;尽量考虑用单字段索引代替: 频繁进行数据操作的表,不要建立太多的索引 添加索引示例: CREATE INDEX IDX_AUDITSTATUS ON [shanghaiDB].[dbo].[Activity](AUDITSTATUS) WITH(ONLINE=ON) 阅读全文
posted @ 2020-01-21 13:30 BloggerSb 阅读(466) 评论(0) 推荐(0) 编辑
摘要:1.如果你为一个表声明了别名,当你指向这个表的时候,就必须使用这个别名,例如: -- 正确的写法: DELETE t1 FROM test AS t1, test2 WHERE ... 在多个表联合删除时,不能使用order by 或limit,而单个表的删除时就没有这个限制。 阅读全文
posted @ 2020-01-21 11:06 BloggerSb 阅读(452) 评论(0) 推荐(0) 编辑
摘要:Select 重复字段 From 表 Group By 重复字段 Having Count(*)>1 count(*)与count(列名)的区别: count(*)将返回表格中所有存在的行的总数包括值为null的行,然而count(列名)将返回表格中除去null以外的所有行的总数(有默认值的列也会被 阅读全文
posted @ 2020-01-21 11:02 BloggerSb 阅读(554) 评论(0) 推荐(0) 编辑
摘要:alter table add unique(字段名称) 或 alter table add CONSTRAINT 约束名称 UNIQUE (column1,column2) 阅读全文
posted @ 2020-01-21 10:48 BloggerSb 阅读(4037) 评论(0) 推荐(0) 编辑
摘要:服务中心(个人开源地址:http://git.oschina.net/chejiangyi/Dyd.BaseService.ServiceCenter) 统一监控(个人开源地址:http://git.oschina.net/chejiangyi/Dyd.BaseService.Monitor) 配置 阅读全文
posted @ 2020-01-20 17:31 BloggerSb 阅读(134) 评论(0) 推荐(0) 编辑
摘要:名字 版本号 简称 全称 msvc70 VC7.0 VS2002 Microsoft Visual Studio 2002 msvc71 VC7.1 VS2003 Microsoft Visual Studio 2003 msvc80 VC8.0 VS2005 Microsoft Visual St 阅读全文
posted @ 2020-01-20 16:59 BloggerSb 阅读(907) 评论(0) 推荐(0) 编辑
摘要:System.Web.HttpContext.Current.Request.Url.Host AppDomain.CurrentDomain.BaseDirectory + "\\applogs"; 阅读全文
posted @ 2020-01-20 16:57 BloggerSb 阅读(1993) 评论(0) 推荐(0) 编辑
摘要:#region Redis Hash散列数据类型操作 /// <summary> /// Redis散列数据类型 批量新增 /// </summary> void HashSet(string key, List<HashEntry> hashEntrys, CommandFlags flags = 阅读全文
posted @ 2020-01-07 14:07 BloggerSb 阅读(652) 评论(0) 推荐(0) 编辑
摘要:方法一: 直接在function里面加入layer.closeAll(‘dialog’); 方法二: 修改function(),function(index),这种方式,官方是支持的。具体可以看官方文档demo的写法 阅读全文
posted @ 2020-01-07 14:04 BloggerSb 阅读(11128) 评论(0) 推荐(0) 编辑
摘要:一般来说导出excel时 如果是excel97~2003,那么content-type应该设置为:application/vnd.ms-excel, 如果是excel2007以后的,那么content-type应该设置为:application/vnd.openxmlformats-officedo 阅读全文
posted @ 2020-01-07 14:02 BloggerSb 阅读(10857) 评论(0) 推荐(0) 编辑
摘要:using (TransactionScope trans = new TransactionScope()) { try { InsertUserBase(); //它插入不成功,自己回滚 UserInfos userInfo = new UserInfos { UserID = "1", Rea 阅读全文
posted @ 2020-01-07 12:31 BloggerSb 阅读(242) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示