2023年8月2日

摘要: 还原数据库失败:先断开连接declare @d varchar(8000)set @d= ' 'select @d=@d+ ' kill '+cast(spid as varchar)+char(13)from master.sys.sysprocesses where dbid=db_id('NW 阅读全文
posted @ 2023-08-02 16:31 *tfe* 阅读(4) 评论(0) 推荐(0) 编辑
摘要: select request_session_id spid, OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT'Kill 死锁id 阅读全文
posted @ 2023-08-02 16:30 *tfe* 阅读(4) 评论(0) 推荐(0) 编辑
摘要: using System.Reflection; public static string Join<T>(List<T> pListForJoin, string pPropertyName, string pSeparator, string pEnclosed) { if (pListForJ 阅读全文
posted @ 2023-08-02 16:30 *tfe* 阅读(6) 评论(0) 推荐(0) 编辑
摘要: public Common.mdlResultModel<mdlGetHistoryData> GetHistoryDataByCondition(int pDeviceId, int pPageIndex, int pPageSize, string pStartTime, string pEnd 阅读全文
posted @ 2023-08-02 16:29 *tfe* 阅读(54) 评论(0) 推荐(0) 编辑
摘要: Winform1: static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main(string[] args) { Application.EnableVisualSty 阅读全文
posted @ 2023-08-02 16:26 *tfe* 阅读(60) 评论(0) 推荐(0) 编辑

导航