摘要:
有些人安装的linux的系统默认防火墙不是iptables,而是firewall,那就得使用以下方式关闭防火墙了。>>>关闭防火墙systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止fi 阅读全文
摘要:
--为字段添加注释 --Eg. execute sp_addextendedproperty 'MS_Description','字段备注信息','user','dbo','table','字段所属的表名','column','添加注释的字段名'; execute sp_addextendedpro 阅读全文
摘要:
1、NSSM.exe https://nssm.cc/ 2、Topshelf 引用地址:https://www.cnblogs.com/guogangj/p/10093102.html#4136330 阅读全文
摘要:
--每秒死锁数量 SELECT * FROM sys.dm_os_performance_counters WHERE counter_name LIKE 'Number of Deadlocksc%'; --查询当前阻塞 WITH CTE_SID ( BSID, SID, sql_handle ) AS ( SELECT blocking_ses... 阅读全文
摘要:
--查询死锁 select request_session_id spid, OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' --杀死死锁进程 kill 3... 阅读全文
摘要:
/// /// 用流的方式下载文件 /// /// 文件路径及文件名 public static void FileDownLoad(string filepath_name) { System.IO.Stream iStream = null; //以10K为单... 阅读全文
摘要:
public static List GetFile(string path, List FileList, string RelativePath) { DirectoryInfo dir = new DirectoryInfo(path); FileInfo[] fil = dir.GetFiles(); ... 阅读全文
摘要:
参考代码: 引用Dapper 阅读全文
摘要:
string lameEXE = @"D:\lame3.100\lame.exe"; string lameArgs = "-b 128"; string wavFile = @"d:\d.mp3"; string mp3File = @"d:\ff.mp3"; Process process =... 阅读全文
摘要:
引用:https://www.cnblogs.com/dansediao/p/6605141.html 阅读全文