Blog Post: What’s next after Azure DataMarket?
Microsoft are retiring Azure DataMarket due to a lack of sustained customer interest in DataMarket. Why is that, and where do we go from here? High Hopes Credit: Stocksnap.io I hoped the Azure...
View ArticleBlog Post: CREATE OR ALTER In One Statment
When ever we execute stored procedure script, we always drop the existing one and recreate it. IF EXISTS (SELECT * FROM sys.procedures WHERE Name = 'Test') BEGIN DROP PROC Test END GO CREATE PROCEDURE...
View ArticleBlog Post: Installing SQL Server vNext on Red Hat Enterprise Linux in Azure
Today I wanted to help walk you through how to be up and running with SQL Server on Linux so that you can kick the tires on this version yourself. The post Installing SQL Server vNext on Red Hat...
View ArticleBlog Post: SQL SERVER 2016 – DBCC Command Enhancement with MAXDOP
When you want to be successful, you need to run alone and fast. But if you want to run longer, you want to run together. I have personally seen multiple instances where this statement holds true to...
View ArticleBlog Post: Power BI On Premises Integration with Reporting Services Preview
Since the Reporting Services product team announced last year that it was their intention to provide an on premises deployment option for Power BI reports, there has been tremendous interest. Despite...
View ArticleBlog Post: How to Find Longest Running Query With Execution Plan – Interview...
Question: How to find the longest running query in SQL Server with Execution Plan? Answer: This is a very popular question I see in SQL Server Interview Questions and Answers. SQL Server stores all the...
View ArticleBlog Post: SQL SERVER – Best Practices About SQL Server Service Account and...
One of my clients posted a question to me about management of SQL Server service account. Since it was a nice learning for me, I am sharing my discussion via this blog post. Let us see the Best...
View ArticleBlog Post: #0394 – SQL Server – SSIS – ForEach Loop – Controlling processing...
In this post, I explore how the For Each Loop Iterator can be made to iterate through files in a specific sequence from a given folder.
View ArticleBlog Post: Task Manager is a liar
I remember asking a question at a recent training event, the outcome? I now don’t use task manager to try and understand how much memory SQL Server is consuming. Why? Well it has the ability to lie,...
View ArticleBlog Post: Monday Coffee 2016-11-21
Well there were quite a few announcements in the SQL Server world last week. SQL Server vNext CTP was made available for download, the big news there is that that version will be available either on...
View ArticleBlog Post: Do You Have Check Constraints On Your Start and End Dates?
Adam Machanic tweeted this advice last week: Please do this. Thanks. ALTER TABLE [your_table] ADD CONSTRAINT [start date must be less than end date] CHECK (start_date e. column_id AND REPLACE ( s....
View ArticleBlog Post: SQL SERVER – Database Mirroring Error -The Specified Network Name...
Have you ever seen a situation where SQL Server mirroring is impacted because of external factors? One of my customers reported several of the following errors in the SQL Server ERRORLOG SQL SERVER –...
View ArticleBlog Post: PASS Summit Announcements: PolyBase enhancements
Microsoft usually has some interesting announcements at the PASS Summit, and this year was no exception. I’m writing a set of blogs covering the major announcements. Next up is the PolyBase...
View ArticleBlog Post: SQL SERVER – Msg 19062, Level 16, State 1. Could Not Create a...
One of my clients reported a strange problem and I learned something new from it. Here is the conversation where we discussed how to fix error 19062 – could not create a trace file. Hi Pinal I have a...
View ArticleBlog Post: SQL SERVER – Rule “Windows Management Instrumentation (WMI)...
When I visit my client site for doing performance tuning consulting, I sometimes get trapped with some unrelated issue. Here is one of the situation where they were upgrading from SQL 2008 R2 to SQL...
View ArticleBlog Post: SQL Server Restore to LSN
For this post I want to show you how I recovered to a LSN where I did do this on a server where I wanted to go back to a time just before a delete occurred. This is my setup. … Continue reading →
View ArticleBlog Post: SQL SERVER – Stop Growing MSDB Database by Removing...
Received an email “Need your urgent help On Demand, our MSDB Database has grown too big and we need help to check our sysmail_mailitems table. We are also facing performance issues.” I have been an...
View ArticleBlog Post: sqlservr.exe
We all know what the sqlservr.exe and its importance, but have you noticed the size difference of the .exe when comparing SQL Server 2008R2 to SQL Server 2012 onwards? Let’s look at 2008R2, I navigate...
View ArticleBlog Post: SQL SERVER – System Function @@IDLE to Find System Ideal Time
Just the other day I got an email with user asking how does the @@idle function work with SQL Server as when he runs them it gives him some number but the number is not easy to interpret. I totally...
View ArticleBlog Post: How to Downgrade Database from SQL Server 2014 to SQL Server 2012...
Question: How to downgrade from SQL Server 2014 to SQL Server 2012? Answer: Not possible. Do not give up reading this blog post there is one workaround. Workaround You can script your entire database...
View Article