摘要: SELECT 表名 = Case When A.colorder=1 Then D.name Else '' End, --表说明 = Case When A.colorder=1 Then isnull(F.value,'') Else '' End, 字段序号 = A.colorder, 字段名 阅读全文
posted @ 2020-05-20 08:19 LoveMe7788 阅读(293) 评论(0) 推荐(0) 编辑
摘要: @echo offtasklist|find /i "nginx.exe" > NULif %errorlevel%==0 ( %cd%/nginx -s quit echo 服务已成功关闭...) else ( echo 服务没有运行... )ping 0.0.0.0 -n 5 > NULexit 阅读全文
posted @ 2020-05-20 08:18 LoveMe7788 阅读(468) 评论(0) 推荐(0) 编辑
摘要: mongodb 的查询语法类似js: var userCods = db.getCollection('items').aggregate([ {$match:{"userItem.userCode":"ACB"}}, {$project:{"userCode":1,"_id":0}} ]) use 阅读全文
posted @ 2020-05-20 08:16 LoveMe7788 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 转载: http://hi.baidu.com/meizhe/blog/item/d7890eb3bf34b5aed9335a96.html/cmtid/7c22e7cddc4d635f0eb345cf 名词: 码流 码流(Data Rate)是指视频文件在单位时间内 使用的数据流量,也叫码率或码流 阅读全文
posted @ 2020-05-16 11:19 LoveMe7788 阅读(909) 评论(0) 推荐(0) 编辑
摘要: 索引 常用存储结构 :b tree 非聚集索引和聚集索引的区别在于, 通过聚集索引可以查到需要查找的数据, 而通过非聚集索引可以查到记录对应的主键值 , 再使用主键的值通过聚集索引查找到需要的数据。 非主流索引(复合、多字段)最终不用聚集索引 阅读全文
posted @ 2020-05-14 14:40 LoveMe7788 阅读(113) 评论(0) 推荐(0) 编辑