会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
旧夏潜入梦
博客园
首页
新随笔
联系
管理
订阅
2023年5月31日
mysql使用索引优化查询效率
摘要: 索引的概念 索引是一种特殊的文件(InnoDB数据表上的索引是表空间的一个组成部分),包含着对数据表里所有记录的引用指针。通俗的来讲,数据库索引好比是一本书前面的目录,能加快数据库的查询速度。在没有索引的情况下,数据库会遍历全部数据后选择符合条件的;而有了相应的索引之后,数据库会直接在索引中查找符合
阅读全文
posted @ 2023-05-31 22:19 旧夏潜入梦
阅读(248)
评论(0)
推荐(0)
2021年12月31日
使用https post 调用接口(不带证书)
摘要: /// <summary> /// 使用https post 调用接口 /// </summary> /// <param name="url">接口地址</param> /// <param name="pm_str">参数</param> /// <param name="pm_ContentT
阅读全文
posted @ 2021-12-31 10:55 旧夏潜入梦
阅读(370)
评论(0)
推荐(0)
2021年12月17日
RAS 算法 私钥加密,公钥解密 Java 转 .net;
摘要: 对接第三方接口,接口返回来的参数是经过 RAS 分段式 算法 加密后的,采用私钥加密,公钥解密,第三方提供公钥; 参考资料地址: https://www.cnblogs.com/datous/p/RSAKeyConvert.html https://www.bbsmax.com/A/RnJW6B4O
阅读全文
posted @ 2021-12-17 09:18 旧夏潜入梦
阅读(1118)
评论(0)
推荐(0)
2021年9月11日
导出数据集到excle
摘要: 使用 NPOI 插件 //不带样式 public static string ToExcle(List<DataTable> datas, string fileName = "report", string exportpath = "", int from = 1) { //获取文件物理路径 s
阅读全文
posted @ 2021-09-11 11:22 旧夏潜入梦
阅读(34)
评论(0)
推荐(0)
DataTable转List
摘要: public static List<T> DatatTable_ToList<T>(DataTable dt) where T : class, new() { int a = 0; int b = 0; try { List<T> ts = new List<T>(); if (dt != nu
阅读全文
posted @ 2021-09-11 11:01 旧夏潜入梦
阅读(119)
评论(0)
推荐(0)
2021年9月10日
vue 常用 npm 命令
摘要:
阅读全文
posted @ 2021-09-10 16:54 旧夏潜入梦
阅读(67)
评论(0)
推荐(0)
mysql 添加自增长ID(序列方式)
摘要: 参考地址:https://www.cnblogs.com/xunyi/p/7499389.html -- 新建序列表 drop table if exists sequence; create table sequence ( seq_name VARCHAR(50) NOT NULL, -- 序列
阅读全文
posted @ 2021-09-10 16:46 旧夏潜入梦
阅读(429)
评论(0)
推荐(0)
2021年9月8日
获取本地IP地址信息
摘要: public static string GetAddressIP() { ///获取本地的IP地址 string AddressIP = string.Empty; HttpContextAccessor context = new HttpContextAccessor(); AddressIP
阅读全文
posted @ 2021-09-08 09:21 旧夏潜入梦
阅读(64)
评论(0)
推荐(0)
2020年4月30日
sql server row_number分页排序
摘要: --1.创建测试表 create table #score ( name varchar(20), subject varchar(20), score int ) --2.插入测试数据 insert into #score(name,subject,score) values('张三','语文',
阅读全文
posted @ 2020-04-30 15:16 旧夏潜入梦
阅读(347)
评论(0)
推荐(0)
2019年12月31日
本地部署IIS
摘要: 参考资料: 部署:https://jingyan.baidu.com/article/20095761c67177cb0721b48d.html HTTP错误500.19 -Internal Server Error:https://jingyan.baidu.com/article/8ebacdf
阅读全文
posted @ 2019-12-31 17:30 旧夏潜入梦
阅读(1404)
评论(0)
推荐(0)
下一页
公告