Graph Additions In SQL Server 2019
SQL Server 2017 and Azure SQL Database introduced native graph database capabilities used to model many-to-many relationships. The first implementation of SQL Graph introduced support for nodes to...
View ArticleHybrid Columnstore And B+ Tree Designs
Adrian Colyer reviews a Microsoft paper on the combination of columnstore and B+ tree indexes on a single table : The authors conducted a series of microbenchmarks as follows: scans with single...
View ArticleCloning And Columnstore Statistics
I have a huge love for the DBCC CLONEDATABASE command it has been made available (backported) to every SQL Server version starting with SQL Server 2012, since the original release in SQL Server 2014,...
View ArticleAdaptive Query Processing in SQL Server 2017
SQL Server 2017 now offers adaptive query processing, a new set of features aimed at improving query performance. Adaptive query processing addresses issues related to cardinality estimates in...
View ArticleSQL Server中通用数据库角色权限处理
SQL Server中通用数据库角色权限处理 最近和同事在做数据库权限清理的事情,主要是删除一些账号;取消一些账号的较大的权限等,例如,有一些有db_owner权限,我们取消账号的数据库角色db_owner,授予最低要求的相关权限。但是这种工作完全是一个体力活,而且是吃力不讨好,而且推进很慢。另外,为了管理方便和细化,我们又在常用的数据库角色外,新增了6个 通用 的数据库角色。如下截图所示。...
View ArticleMore than 25 Years for me
I was surprised to see a 25 year celebration for SQL Server at Ignite recently. It was also a 25 year celebration for Bob Ward. If you haven’t met Bob or seen him speak, make an effort to do so. He...
View ArticleGenerate HTML Formatted Email of SQL Server Database Consistency Check Errors
By: Nisarg Upadhyay || Related Tips:More > Database Console Commands DBCCs Problem How can I email SQL Server database corruption errors when generated by SQL Server DBCC executions? Solution As a...
View ArticleT-SQL Tuesday #107 Invitation: Death March
There is a famous book in our field written in the 2000’s by Ed Yourdon called “ Death March “. In it he details the phenomenon in project management of death march software projects . He observed a...
View ArticleSQL Server Analysis Services login using Windows Authentication without Domain
This post shows you how to login in to SQL Server Analysis Services with the following scenario. You have a standalone SQL Server 2016 installing alone with SQL Server Analysis Services. You have a...
View ArticleThe SQL Agents’ view of SQL Server
I recently came across a really odd issue with the SQL Agent, there were two agent jobs attached to one schedule one of the jobs was enabled and the other was not enabled all pretty normal at this...
View ArticleUnused Indexes Are they really unused or have they just not been used YET?
During our Critical Care sessions with clients , we often see unused indexes (reads=0) with high writes. Sometimes these unused indexes have very high writes. If an index is never being used to help...
View ArticleStarting SSMS with a specific connection and script file
Have you ever wanted SSMS to start and automatically and establish a connection to your DBA \ hub server and have your daily routine queries already open ready to run? Good news, that is totally...
View ArticleHow I Use a Mac but Work on SQL Server
Kind of a convoluted title, I know, but I get questions like this every now and then: @BrentO read your article on your home setup, any chance there could be a follow up on how you have things...
View ArticleSQL Server Cursor Example
Problem In my T-SQL code I always use set based operations. I have been told these types of operations are what SQL Server is designed to process and it should be quicker than serial processing. I know...
View ArticleWe Need to Talk About the Warnings In Your Query Plans.
SQL Server, thanks for coming today. Have a seat. Yes, this might seem odd there are a lot of us here. And yes, we are locking the door behind you. We all care about you all of us care very deeply but...
View ArticleSQL Server Data Collection and Management Data Warehouse
We all have the need to collect system and performance information regarding our SQL Servers. Some of us use third-party tools, SQL Trace, or a homegrown solution. Did you know Microsoft has a...
View ArticleSSMS 18.0 public preview released
We are very excited to announce the public preview of SQL Server Management Studio 18.0. SSMS has been ported to the VS 2017 Isolated Shell, which brings with it many improvements to look and feel and...
View ArticleQuery to determine XE Session status
Query to determine XE Session status epivaral Posted on 3 October 2018 Comments On a previous post , we discussed what is an extended event (XE) and how to create one. With the following T-SQL you can...
View ArticleIntroduction to Table Variable Deferred Compilation
Prior to SQL Server 2019, cardinality of a table variable was hardcoded to 1 , regardless of number of rows in it. The only way to see a different (and accurate) value there is to run a statement with...
View ArticleDocker compose an ASP NET Core application with SQL Server
Docker compose an ASP NET Core application with SQL Server Last week we saw how we could install and run an ASP NET Core application in a container , we saw how Visual Studio uses docker-compose to...
View Article