上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页
摘要: 转自:https://www.cnblogs.com/huangxincheng/p/12739752.html 前几天一位朋友去面试,面试官问了他同步,异步,多线程之间是什么关系,异步比同步高效在哪?多线程比单线程高效在哪?由于回答的不好,让我帮他捋一下,其实回答这个问题不难,难就难在只对别人说理 阅读全文
posted @ 2020-04-23 09:42 Ace001 阅读(1102) 评论(0) 推荐(1) 编辑
摘要: 1.使用entityConnectionStringBuilder 创建连接字符串 public static string GetConnStr(string host, string catalog, string user, string pass, bool winAuth=false) { 阅读全文
posted @ 2020-01-10 13:38 Ace001 阅读(1914) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/yuxuac/article/details/79204910 1.查询表行数 SELECT object_name (i.id) TableName, rows as RowCnt FROM sysindexes i INNER JOIN sysObje 阅读全文
posted @ 2019-12-24 10:41 Ace001 阅读(1887) 评论(0) 推荐(0) 编辑
摘要: 1.取时间最新的记录 不分组有重复(多条CreateTime一样的都是最新记录) select * from test t where pid in ( select PId from Test t where time=(select max(time) from Test t1 where t1 阅读全文
posted @ 2019-12-04 10:28 Ace001 阅读(24641) 评论(1) 推荐(4) 编辑
摘要: Process.Start("cmd.exe", "/c start \"title\" \"C:\\Program Files\\a.bmp\" & pause"); 路径含有空格 需要双引号引起来 注意start 后面的第一个参数作用是title参数 不可忽略 且title和path之间需要有空 阅读全文
posted @ 2019-11-15 14:57 Ace001 阅读(1141) 评论(1) 推荐(0) 编辑
摘要: int age=18; Console.WriteLine($"XiaoMing is \"{age}\" {{ years}} old"); Console.WriteLine($@"XiaoMing is \""{age}\"" {{ years}} old"); Console.Write( 阅读全文
posted @ 2019-11-14 10:59 Ace001 阅读(769) 评论(0) 推荐(1) 编辑
摘要: update table set photo=(SELECT * FROM OPENROWSET(BULK N'D:\no.png', SINGLE_BLOB) as Photo) From:https://www.cnblogs.com/xuejianxiyang/p/11225577.html 阅读全文
posted @ 2019-07-22 14:17 Ace001 阅读(3064) 评论(0) 推荐(0) 编辑
摘要: Time字段以小时分组统计 select datepart(hour,time) hour,count(1) count from table where Similarity<75 group by datepart(hour,time) order by count desc From:http 阅读全文
posted @ 2019-07-17 18:39 Ace001 阅读(13356) 评论(0) 推荐(0) 编辑
摘要: 1.错误 HTTP Error 500.21 - Internal Server Error Handler "ExtensionlessUrlHandler-Integrated-4.0" has a bad module "ManagedPipelineHandler" in its modul 阅读全文
posted @ 2019-07-10 14:32 Ace001 阅读(1000) 评论(0) 推荐(1) 编辑
摘要: 解决办法 安装vc++ 2015 Redistributable 64位系统安装x64 如果还报错先装x64版本再装x86版本 https://files.cnblogs.com/files/xuejianxiyang/vc_redist.part1.rarhttps://files.cnblogs 阅读全文
posted @ 2019-05-28 17:57 Ace001 阅读(12115) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页