代码改变世界

推荐排行榜

SQL Agent Job 报“Access to the remote server is denied because the current security context is not trusted”

2017-02-24 11:41 by 潇湘隐者, 1746 阅读, 收藏,
摘要: SQL Server 2005(Microsoft SQL Server 2005 - 9.00.5000.00)下的一个作业执行一个存储过程,存储过程中动态SQL语句使用链接服务器(Linked Servers),从另外一台SQL Server服务器获取数据。但是执行时报“Access to the remote server is denied because the current secu... 阅读全文

XtraBackup备份出现"Can't locate Digest/MD5.pm in @INC"

2017-02-23 13:34 by 潇湘隐者, 7658 阅读, 收藏,
摘要: 在CentOS 7上安装了Xtrabackup 2.4.5(innobackupex version 2.4.5 Linux (x86_64) (revision id: e41c0be)),然后做备份时遇到下面错误信息“Can't locate Digest/MD5.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/loca... 阅读全文

SQL Server如何用SQL实现一批字符串的全部组合

2017-02-21 15:03 by 潇湘隐者, 3812 阅读, 收藏,
摘要: 在SQL Server中,如何用SQL去实现得到一批字符串的全部组合呢?这个是同事在实际需求当中遇到的一个问题,他的具体需求如下所示: 传入参数格式为'1,2,3,224,15,6' 'A,BC,GHT,TTY,B,E' 输出的内容为分割后字符串的所有非排列组合 !-阶乘,如!=5××××=120 (M!/(N!*((M-N)!))) 公式描述:组合数公式是从m个不同元... 阅读全文

Windows服务器防火墙配置规范

2017-02-18 11:12 by 潇湘隐者, 4108 阅读, 收藏,
摘要: 本文属于一篇内部规范文档,整理的初衷是为了规范、统一集团的Windows服务器(仅仅SQL Server数据库服务器)防火墙设置,仅仅供内部其它同事设置Windows防火墙时作为参考的文档资料。如有不足,敬请指正。后续将不断完善、整理该文档。文档里面部分内容直接摘抄自MSDN,敬请知晓! 文档类型 Windows服务器防火墙配置规范 创建日期 2017-02-06 ... 阅读全文

The concurrent snapshot for publication 'xxx' is not available because it has not been fully generated or the Log Reader Agent is not running to activate it

2017-02-15 17:14 by 潇湘隐者, 1796 阅读, 收藏,
摘要: 在两台测试服务器部署了复制(发布订阅)后,发现订阅的表一直没有同步过来。重新生成过snapshot ,也重新初始化过订阅,都不能同步数据,后面检查Distributor To Subscriber History, 发现有如下日志信息: The concurrent snapshot for publication 'RPL_PUB_Tecdb' is not available because ... 阅读全文
上一页 1 ··· 103 104 105 106 107 108 109 110 111 ··· 133 下一页