摘要: 测试表中有六百五十八万九千多条数据 ID:主键 UUID:非聚集索引 数据量: 1. select COUNT(*) from [Chapter] 2. select COUNT(ID) from [Chapter] 3. select COUNT(UUID) from [Chapter] 4. s 阅读全文
posted @ 2020-05-21 15:08 Vaynedy 阅读(228) 评论(0) 推荐(0) 编辑
摘要: declare @error int set @error=0 declare @temp varchar(50) -- 保存游标查询出的字段 --定义游标 declare cursor_1 cursor for (select 字段 from 表名) --打开游标-- open cursor_1 阅读全文
posted @ 2020-05-21 15:00 Vaynedy 阅读(146) 评论(0) 推荐(0) 编辑
摘要: //数据源 DataTable dt ; //拆分后的表头 DataTable DtHead ; //拆分后的表体 DataTable DtBody ; public void SplitDataTable(DataTable dt, out DataTable DtHead, out DataTa 阅读全文
posted @ 2019-08-22 11:07 Vaynedy 阅读(779) 评论(0) 推荐(0) 编辑
摘要: KeyDown 阅读全文
posted @ 2019-08-22 11:06 Vaynedy 阅读(1077) 评论(0) 推荐(0) 编辑
摘要: DateTime.Now.ToLongDateString(); 2017年5月3日 DateTime.Now.ToLongTimeString(); 14:49:41 DateTime.Now.ToShortDateString(); 2017/5/3 DateTime.Now.ToShortTi 阅读全文
posted @ 2019-08-22 11:02 Vaynedy 阅读(1612) 评论(0) 推荐(0) 编辑
摘要: //1.遍历参数逐个比对key function getQuery(keyValue) { var search = location.search.slice(1); var arr = search.split("&"); for (var i = 0; i < arr.length; i++) 阅读全文
posted @ 2019-08-22 11:01 Vaynedy 阅读(816) 评论(0) 推荐(0) 编辑
摘要: //判断是否为空,为空返回true function strIsNullOrEmpty(str0) { var str = String(str0); var res = false; if (str == '' || str == null || str == undefined || str == 'undefined') res = true; return res; } 阅读全文
posted @ 2019-08-22 10:58 Vaynedy 阅读(398) 评论(0) 推荐(0) 编辑
摘要: Assembly.Load("A").CreateInstance("B") A:程序集名,一般是命名空间 B:类的完全限定名,就是命名空间.类名 阅读全文
posted @ 2019-08-22 10:55 Vaynedy 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 1. Viasfora (关键字高亮和彩虹括号) 2. Indent Guides (为代码缩进添加参考线) 3. Web Essentials (可以及时预览网页效果、兼容的CSS代码的生成、上下箭头可以改变数字值、可以生产Base64格式的字符串代替URL地址等等功能,具体功能介绍可以参考 ht 阅读全文
posted @ 2019-08-22 10:51 Vaynedy 阅读(456) 评论(0) 推荐(0) 编辑
摘要: JavaScript 版本:1.6 var newArr = arr.filter(element,index,self => self.indexOf(element) == index); 阅读全文
posted @ 2019-08-22 10:47 Vaynedy 阅读(196) 评论(0) 推荐(0) 编辑