摘要:
--查询包含某字段的所有存储过程 SELECT obj.Name '存储过程名', sc.text '存储过程内容' FROM syscomments sc INNER JOIN sysobjects obj ON sc.Id = obj.id WHERE SC.text LIKE '%你要查询的字 阅读全文
摘要:
打开SFTP程序想要开启,却发现端口10022被占用了,无法使用 处理: 1)打开cmd 2)查询端口使用详情: netstat -ano | findstr 10022 3)根据PID【进程号】强制关闭该使用的端口的程序 taskkill /pid 3032 /f 感谢:https://blog. 阅读全文
摘要:
场景: 在SQLServer里面执行一个定时器的时候出现死锁问题。 查询情况: 1)查询到该存储过程执行缓慢,卡死。内部跟踪发现执行【EXEC master..xp_cmdshell @sql】的生成文件问题 2)单独一步一步执行完全没问题,后续继续查找原因。 原因:在存储中使用游标进行循环的时候, 阅读全文
摘要:
场景:服务器数据打开缓慢,系统登录读取数据库超时 查询数据库耗时缓慢的语句 SELECT TOP 30 total_worker_time/1000 AS [CPU总耗时(ms)], execution_count [运行次数], qs.total_worker_time/qs.execution_ 阅读全文
摘要:
1.需求:客户要求能够移动端扫描二维码、一维码 2.条件: 1)注册一个微信服务号,使用微信服务号进行网页Web的使用,使用微信的服务号打开改链接。 2)配置微信服务号的APPID、APPSECRET、白名单、JS接口安全域名、业务域名、网页授权域名、链接等 3.代码: 1)引用(这里在Nuget中 阅读全文
摘要:
1.使用cmd命令行【Vue UI】创建项目出现【 Failed to get response from https://registry.npm.taobao.org/vue-cli-version-marker】 原因:镜像问题 处理: npm config get registry 查看镜像 阅读全文
摘要:
目的:使用html2canvas画布去截取下来的图片,然后去尝试解析其图片用来识别条形码和二维码 代码: <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta 阅读全文
摘要:
代码: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>商品图片放大镜</title> </head> <style> body { margin: 0; padding: 0; } #app { padding: 10px; 阅读全文
摘要:
代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script src="./ 阅读全文
摘要:
代码: <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, init 阅读全文
摘要:
1.采用有道的接口 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>语音播报</title> </head> <body> <button onclick='voiceBroadcast("微信收款10000000元")'>点击 阅读全文