摘要: ####查询未创建索引的外键 SELECT * FROM sys.foreign_keys fk WHERE EXISTS ( SELECT * FROM sys.foreign_key_columns fkc WHERE fkc.constraint_object_id = fk.object_i 阅读全文
posted @ 2022-03-18 17:51 QAQhong 阅读(103) 评论(0) 推荐(0) 编辑
摘要: ####添加 Microsoft.VisualBasic引用 /// <summary> /// 转换为简体中文 /// </summary> public static string ToSChinese(string str) { return Strings.StrConv(str, VbSt 阅读全文
posted @ 2021-11-30 21:42 QAQhong 阅读(231) 评论(0) 推荐(0) 编辑
摘要: ###1.npm ####在npm install 后面加上 @以及版本号 npm install --save echarts@4.3.0 ###2.cnpm ####安装cnpm npm install -g cnpm --registry=https://registry.npm.taobao 阅读全文
posted @ 2021-11-24 21:41 QAQhong 阅读(1588) 评论(0) 推荐(0) 编辑
摘要: ###先上报错图: ###解决方案: ####鼠标右击VSCode图标,选择以管理员身份运行; ####在终端中执行get-ExecutionPolicy,显示Restricted,表示状态是禁止的; ####这时执行set-ExecutionPolicy RemoteSigned; ####此时再 阅读全文
posted @ 2021-11-24 21:27 QAQhong 阅读(139) 评论(0) 推荐(0) 编辑
摘要: ###转载请注明出处:https://www.cnblogs.com/wenjunwei/p/10078460.html ###在使用npm命令时,如果直接从国外的仓库下载依赖,下载速度很慢,甚至会下载不下来,我们可以更换npm的仓库源,提高下载速度。 ###此处以淘宝镜像为例,如果公司有本地仓库, 阅读全文
posted @ 2021-11-24 21:12 QAQhong 阅读(456) 评论(0) 推荐(0) 编辑
摘要: ##从哪找的记不清了,记录一下,使用OPNQUERY提升性能 ###1. 问题 系统有个模块,需要查询Oracle数据库中的数据。目前是通过建立链接服务器实现的。 SQLServer访问Oracle实现 可参考这篇文章http://www.cnblogs.com/gnielee/archive/20 阅读全文
posted @ 2021-11-05 22:58 QAQhong 阅读(440) 评论(0) 推荐(1) 编辑
摘要: 1. 自定义的 declare @watch datetime; set @watch=getdate(); select * from xxx; select datediff(ms,@watch,getdate()) as elapsedTime; 2. 系统提供的 set statistics 阅读全文
posted @ 2021-11-05 22:35 QAQhong 阅读(345) 评论(2) 推荐(0) 编辑
摘要: ####C#-Unix时间戳及转换 /// <summary> /// DateTime时间格式转换为13位带毫秒的Unix时间戳 /// </summary> /// <param name="time">DateTime时间格式</param> /// <returns>Unix时间戳格式</r 阅读全文
posted @ 2021-10-20 22:23 QAQhong 阅读(2663) 评论(0) 推荐(0) 编辑
摘要: ###问题点: pc端ec-canvas组件不显示内容 ###原因与解决方案: pc端不支持canvas 2d 我们只需要在ec-canvas组件里写上 force-use-old-canvas="true"即可 阅读全文
posted @ 2021-09-09 22:19 QAQhong 阅读(361) 评论(0) 推荐(0) 编辑
摘要: ###1.从string[]转到List string[] str={"str","string","abc"}; List<string> list=new List<string>(str); ###2.从List转到string[] List<string> list=new List<str 阅读全文
posted @ 2021-07-03 14:32 QAQhong 阅读(52) 评论(0) 推荐(0) 编辑