Error While Connecting To CRM Online Using Kingsway SSIS Connector
Issue: I have recently got this error when i was preparing an SSIS package for Dynamics CRM 365 Online and used Kingsway SSIS connector. Resolution: After digging in further this error is mainly caused...
View ArticleZabbix3.4系列配置篇一:监控Microsoft SQL Server数据库
安装教程请查看链接 Zabbix3.4系列之一:服务端安装教程 Zabbix3.4系列之二:linux批量安装客户端Zabbix-agent Zabbix3.4系列之三:windows批量安装客户端Zabbix-agent Zabbix3.4系列之四:通过钉钉机器人报警 通过 Zabbix模板,用于监视和收集Microsoft SQL...
View ArticleNew(ish) VLF Status: 4
At least since I started working on the SQL Server team (just after 7.0 shipped) and since then there have only been two VLF status codes: 0 = the VLF is not active (i.e. it can be (re)activated and...
View ArticleUsing the SQL Coalesce function in SQL Server
String manipulation is a process to generate another form of existing data in a way the business uses or displayed as results in the reports. Previous SQL string function articles, I have written,...
View ArticleFinding & Fixing Statistics Without Histograms
Men Without Hats now those guys were cool: Statistics Without Histograms not so much. If you have a database that’s been passed along from one SQL Server to another, gradually upgraded over the years,...
View ArticleThree Steps to quickly solve SQL Server High CPU usage
Introduction SQL High CPU is one of the most important performance issues when monitoring SQL Server High CPU usage in SQL Server issue may be caused by slow query performance, load on server and/or...
View ArticleSQL Server OPTION (OPTIMIZE FOR UNKNOWN) 测试总结
关于 SQL Server 的查询提示 OPTION (OPTIMIZE FOR UNKNOWN) ,它是解决参数嗅探的方法之一。 而且对应的 SQL 语句会缓存,不用每次都重编译。关键在于它的执行计划的准确度问题, 最近在优化的时候,和同事对于这个查询提示( Query Hint) 有一点分歧,遂动手实验验证、总结了一些东西。 关于提示 OPTION (OPTIMIZE FOR UNKNOWN)...
View ArticleTroubleshooting the Witness in the SQL Server Mirror Schema with Error
I've got a trio of windows servers (data1, data2 and datawitness) that aren't part of any domain and don't use AD. I'm trying to set up mirroring based on the instructions at...
View ArticleGenerate Network Graphs with R in SQL Server 2017
By: Siddharth Mehta || Related Tips:More >SQL Server 2017 Problem There are hundreds of visualizations available to visualize data using R. One of the niche types of visualizations are network...
View ArticleKey Lookup开销过大导致聚集索引扫描
以前总结过一篇文章 SQL SERVER中什么情况会导致索引查找变成索引扫描 介绍了几种索引查找( Index Seek )变成索引扫描( Index Scan )的情形。昨天写一篇文章的时候,也遇到了一个让人奇怪的执行计划。一时没有想明白为什么优化器会选择聚集索引扫描。案例详情请见 SQL Server OPTION (OPTIMIZE FOR UNKNOWN) 测试总结 。...
View Article微软SQL Server 2019宣传短片曝光 或于Ignite大会上播放
知名微软新闻爆料人 Waling Cat(@h0x0d),刚刚在 Twitter 上晒出了一段泄露出来的 SQL Server 2019 营销宣传视频,让我们对新版本带来的激动人心的新功能有了初步的了解。有人猜测,微软可能在 Ignite 2018 大会上正式播放这段视频,不过相信专业人士能够从视频中瞅到更多信息。本届 Ignite 大会将于 9 月 29 ~ 10 月 6 日在加州圣迭戈举办。...
View ArticleBest Trick to Extract Data From SQL Server MDF File Instantly
SQL Server is a relational database management system in technology field it supports more than one transaction processing. MDF is utilized to save information like views, stored information and so on...
View ArticleEnabling Optimize For Ad Hoc Workloads In SQL Server
The option to enable Optimize for Ad hoc Workloads in SQL Server has quickly become one of my most recommended settings. When enabled this setting instructs SQL Server to only store a snippet of the...
View ArticleGrails 3 and Microsoft SQL Server: Building CRUD RESTful API
A comprehensive step by step tutorial on builds RESTful API Web Service using Grails 3 and MS (Microsoft) SQL Server. In this tutorial, we are using jTDS which is one of the free JDBC-ODBC drivers that...
View ArticleLeaked: SQL Server 2019 Big Data Clusters Introduction Video
Psst you’re probably not supposed to see this yet, but look what @WalkingCat found: SQL Server 2019 Vision pic.twitter.com/zbjI28FYSu ― WalkingCat (@h0x0d) September 21, 2018 What the video says...
View ArticleThe same input list has two different queries in sql server using java db method
I want to establish single connection with sql server for two different queries having same input. Is that acheivable? Here is my code which will establish the connection with database twice for...
View ArticleInteresting Stuff - Week 38
Throughout the week, I read a lot of blog-posts, articles, and so forth, that has to do with things that interest me: data science data in general distributed computing SQL Server transactions (both db...
View ArticleData access control within the entity
I want to make a simple(or not) data access control in Entity Framework. I saw that its not so easily supported in EF, because EF actually doesn't have good support of schemas and views. I want to make...
View Article红队故事0x01:从MSSQL到命令执行
从一个mssql再到命令执行的思考。 背景介绍 红队识别出了一个易受SQL注入攻击的外围资产(ASP/MSSQL)。通过此漏洞有可能在目标服务器上执行命令,但需要特殊的方法绕过命令过滤策略,从而获得命令的输出。 应用过程 0x01、堆叠查询 其中所涉及的环境是一个使用 Microsoft SQL Server 作为数据库的 ASP 应用程序。 漏洞的发现...
View ArticleWhat's New in the First Public CTP of SQL Server 2019
By: Aaron Bertrand || Related Tips:More >SQL Server 2019 Problem The first public CTP of SQL Server 2019 was released today and, let me tell you, it is overflowing with enhancements and new...
View Article