2019年6月26日
摘要: EXEC master..xp_cmdshell 'BCP test.dbo.name out d:\t_002.txt -c -t -T' EXEC master..xp_cmdshell 'BCP "select name from test.dbo.name" queryout d:\t_00 阅读全文
posted @ 2019-06-26 15:43 wxm3177 阅读(161) 评论(0) 推荐(0) 编辑
  2019年6月10日
摘要: --每秒死锁数量 SELECT * FROM sys.dm_os_performance_counters WHERE counter_name LIKE 'Number of Deadlocksc%'; --查询当前阻塞 WITH CTE_SID ( BSID, SID, sql_handle ) 阅读全文
posted @ 2019-06-10 15:11 wxm3177 阅读(346) 评论(0) 推荐(0) 编辑
  2019年1月21日
摘要: http://www.cnblogs.com/jys509/p/4628926.html https://www.cnblogs.com/AmyLo/p/8125505.html https://blog.csdn.net/u011966339/article/details/79565831 Qu 阅读全文
posted @ 2019-01-21 15:38 wxm3177 阅读(151) 评论(0) 推荐(0) 编辑
  2019年1月14日
摘要: select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' declare @spid 阅读全文
posted @ 2019-01-14 19:12 wxm3177 阅读(837) 评论(0) 推荐(0) 编辑
  2018年12月4日
摘要: EF 查看具体的抛错详情 Validation failed for one or more entities. See 'EntityValidationErrors' property for more details. 抛错信息转换 ((System.Data.Entity.Validatio 阅读全文
posted @ 2018-12-04 21:27 wxm3177 阅读(131) 评论(0) 推荐(0) 编辑
摘要: EF 查看具体的抛错详情 Validation failed for one or more entities. See 'EntityValidationErrors' property for more details. 抛错信息转换 ((System.Data.Entity.Validatio 阅读全文
posted @ 2018-12-04 21:27 wxm3177 阅读(238) 评论(0) 推荐(0) 编辑
  2018年11月29日
摘要: 通过 Membership 生成随机数 string code = Membership.GeneratePassword(8, 0); //不要特殊字符则自己替换 code = Regex.Replace(code, "[ \\[ \\] \\^ \\-_*×――(^)$%~!@#$…&%¥—+= 阅读全文
posted @ 2018-11-29 12:04 wxm3177 阅读(281) 评论(0) 推荐(0) 编辑
  2018年11月13日
摘要: 前端jqury脚本实现流程设计,兼容目前主流浏览器 gooflow 默认属性节点只有:id,name,top,left,width,height,type (各个版本不同,属性节点有所增加),但是这些都是和流程设计器本身有关的 实现自定义属性字段: 1、在节点数据对象上加上自己的定义属性字段(我自定 阅读全文
posted @ 2018-11-13 13:38 wxm3177 阅读(1774) 评论(0) 推荐(1) 编辑
  2018年9月17日
摘要: https://github.com/MicrosoftArchive/redis/releases redis 服务安装到系统 redis-server.exe --service-install redis.windows.conf --loglevel verbose 阅读全文
posted @ 2018-09-17 16:03 wxm3177 阅读(104) 评论(0) 推荐(0) 编辑
  2018年8月30日
摘要: 可以申请unionid打通,打通之后用户成功登录,在返回token和openid的基础上再增加返回一个unionIDUnionid接口权限申请流程:目前只支持同一个开发者号码下的应用进行打通。如有需要,可以发邮件到connect@qq.com申请,提供应用类型、信息(APPID和APPKEY),附上 阅读全文
posted @ 2018-08-30 15:59 wxm3177 阅读(540) 评论(0) 推荐(0) 编辑