SQL SERVER – Error: 566, Severity: 21 – An Error Occurred While Writing an...
Have you ever been in a situation where SQL Server shuts down by itself? It sounds strange but I met across a gentleman in flight who reported this issue to me. Since I was curious to know the cause,...
View ArticleSQL Server vNext
I have been pretty busy recently working with Joe Sack from Microsoft and getting my hands dirty with SQL Server vNext accessing some cool stuff (which obviously I can’t talk about – under NDA) and...
View ArticleSQL SERVER – Database Mirroring Connection Error 4 – An Error Occurred While...
I was trying to set up database mirroring in my freshly created Azure Virtual Machines and encountered an error. The error was talking about the connectivity problem, but it was something else. Let us...
View ArticleHow to Enable Auto Update Statistics and Auto Create Statistics with T-SQL –...
Question: How to Enable Auto Update Statistics and Auto Create Statistics?Answer: I have received this question after watching my free webinar on group by conference by one of the user. I really loved...
View ArticleSQL SERVER – SQL Server: Getting OS information using DMV
I am used to exploring what is available in the technology of love – SQL Server. As I was exploring into one of the simplest set of DMVs which have been available for ages. There are several ways to...
View ArticleMonday Coffee 2017-02-06
A lot’s been said about last week’s Gitlab outage so I’m not going to go over the details here but I do want to talk about one point that was when I was watching the guys fix the issue live on...
View ArticleUsing Extended Events in Azure
Over the past 6 months I have been trying to push myself to use extended events (XEvents) over SQL trace, once you get past the learning curve it’s probably the way to go. If you are operating in the...
View ArticleSQL: Different ways to generate sequence
There was a question from the op regarding adding a new column to a query output by generating the cyclic sequence numbers from 1 to 3.Select A =identity(int,1,1),B,C from...
View ArticleSQL SERVER – The header for file Path is not a valid database file header....
If you are coming to this page by searching, then I am sure that you are in big trouble. I have come across this error and my SQL Server was not getting started. When I looked into ERRORLOG, I found...
View ArticleSQL SERVER – Puzzle – Why does sp_spaceused Show No Values?
When you see something not behaving the way normal way, either it must be magic or in software terms it is an error or bug. This blog was inspired by someone who caught me unaware with this challenge...
View ArticleIoT Hub vs. Event Hub
There can sometimes be confusion, in IoT scenarios, between IoT Hub and Event Hub, as they can both be valid choices for streaming data ingestion. My Microsoft colleague, Steve Busby, an IoT...
View ArticleThanks Rodney for driving me and Grant all over Florida
A few weeks ago Grant Fritchey and I had the chance to speak at five user group meetings in five days, in five cities all over Florida.Clearly we’re both insane as we agreed to do this. Everything was...
View ArticleSQL SERVER Management Studio – Exception of type...
I was trying to help my client in generating a report large data set. After spending some time and understanding the schema, I could provide them the query to get the results. Now, he wanted to save...
View ArticleSQL SERVER – UpdateHADRResource – Failed to version-copy file – Exception...
While applying patches on SQL server standalone instance, in the cluster, it failed with error as below in Summary.txt file. Let us learn about how to fix Exception data is:...
View ArticleWhat Does “monitorLoop” mean in the Blocked Process Report
Some trivia for your Friday. I recently got a question asking about what the attribute “monitorLoop” is in the blocked-process-report because it’s not really documented.You won’t find too much...
View ArticleDevops without management buy in?
I was talking to someone at a meetup recently who was really keen on doing continuous deployment for their database but they had a number of issues, the main was that because management wasn't sold on...
View ArticleSSDT and Friends - .net meetup video
I did a talk at the london .net meetup if you want to get an overview of what SSDT is and how to get started then I would recommend...
View ArticleSQL SERVER – Migrating AlwaysOn Availability Group to New AD Domain
As a part of my independent consulting, I also provide a high level overview of the migration strategy. As a part of this engagement, my client wanted me to provide steps to move AlwaysOn availability...
View ArticleSQL SERVER – FIX: Error 19456: None of the IP Addresses Configured for the...
Recently, while deploying a hybrid AlwaysOn availability group for a client, I faced this error. Since it was something I was not able to find many hits on internet search, I thought of sharing this...
View ArticleLightweight Statistics Profiling (with a potential bug)
The great thing about new versions of SQL Server is the fact that they are packed full of new features but there some that don’t really get talked about much. I found out about a concept called...
View Article