Interview Question of the Week #062 – How to Find Table Without Clustered...
Question: How to Find Table Without Clustered Index (heap)? Answer: In SQL Server, when we create a primary key it automatically creates clustered index on the table, unless we explicitly mentioned not...
View ArticleSQL SERVER – Installing SQL Server Management Studio 2016 – Step by Step
New versions bring new learning. To keep myself up-to-date, I have downloaded RC0 (release candidate zero) for SQL Server 2016 and while installing SQL Server I was surprised to see the feature list....
View ArticleSQL SERVER – The Need for Data Tier Elasticity in Cloud Computing
Many application workloads are characterized by resource use that varies over time. Usage peaks can vary depending on the time of the day, week, or month, and outside events. Even a big sport game or...
View ArticleSQL SERVER – Mirroring Error 1412 – The remote copy of database has not been...
With mirroring gone as deprecated feature, I have tried to keep away from exploring into what has been happening in this space. But what can I do when customers still use them? The challenges for...
View ArticleSQL SERVER 2016 – STRING_SPLIT Function Performance Comparison – Notes from...
SQL Server 2016 is around the corner. We already have SQL Server 2016 RC0 released and many of us have started to test out various aspects of the same. For many years users have created temporary...
View ArticleSQL SERVER – Introduction to SQL Azure Database Throttling
In standalone versions of SQL Server, if your SQL Server receives more concurrent requests than it can service simultaneously, it will queue the requests for later processing (subject to certain...
View ArticleSQL SERVER – Error 15559 – Error 912 – Script Level Upgrade for Database...
Recently I assisted one of my clients to perform an upgrade of SQL Server 2005 to SQL Server 2014. Once the upgrade is complete, SQL Server service was unable to start. As usual, I always look at...
View ArticleInterview Question of the Week #063 – How to Recompile Stored Procedure for...
I have kept busy with SQL Consultancy now a days. Just the other day, while doing performance tuning exercise we had made major changes in the data stored in one of the main tables. The impact was so...
View ArticleSQL SERVER – How Enable Transparent Database Encryption (TDE) for Database...
Life can teach you interesting lessons and push you beyond the boundary of what we call as a comfort zone. Recently I had a customer who was working on SQL server 2008 R2 and was enabling Mirroring....
View ArticleSQL SERVER – Extended Events to watch for using ColumnStore Index
In the recent past, I have written a number of posts around ColumnStore Index and how they function. Some of the nuances of working with ColumnStore Indexes are available in this blog for reference. I...
View ArticleSQL SERVER – Scripting Tip: PowerShell to Identify Last Bootup Time
I know I have been fortunate to write back-to-back on topics around SQL Server. I get a number of you do take time in writing down to me over emails,... The post SQL SERVER – Scripting Tip: PowerShell...
View ArticleSQL SERVER – How to Start SQL Server Service Without tempdb?
Before I start explaining the situation, I got into while experimenting with the SQL Server instance on my machine, let me air a word of caution – Please DONOT try... The post SQL SERVER – How to Start...
View ArticleSQL SERVER – Free SQL Server Formatting Add-in
This article describes the ways in which you can format SQL code using ApexSQL Refactor features and options. ApexSQL Refactor is a free add-in with over 200 formatting options and... The post SQL...
View ArticleSQL SERVER – Boosting User Experience with Perspectives in Analysis Services...
[Note from Pinal]: This is a new episode of Notes from the Field series. When I was new to SSAS it took me quite a while to understand the various terminology... The post SQL SERVER – Boosting User...
View ArticleSQL SERVER – 2016 – Check Value as JSON With ISJSON()
I have been wanting to write about the various operators that govern using JSON and my first shot has been with: SQL SERVER – Getting started and creating JSON using... The post SQL SERVER – 2016 –...
View ArticleInterview Question of the Week #060 – What is the Difference Between EXCEPT...
Earlier this week, I had the opportunity to take many different interviews. Most of the DBA and Developers update their resume with various versions of the SQL Server. It seems... The post Interview...
View ArticleSQL SERVER – Unable to start SQL Server Agent – Failed to initialize SQL...
My friend was researching with SQL Agent parameters and after sometime he called me and told that he is not able to start SQL Agent service. Here was the error... The post SQL SERVER – Unable to start...
View ArticleSQL SERVER – Timeout expired. The timeout period elapsed prior to completion...
Some errors when encountered take most of us for a spin. In this category the error related to “Timeout” surely falls. If you are a web developer and receive the... The post SQL SERVER – Timeout...
View ArticleSQL SERVER – Add failover cluster node fails with “number of cluster nodes...
A lot of my blog readers contact me via comments and I try my best to reply to all of them. Sometimes issue is so interesting that I ask them... The post SQL SERVER – Add failover cluster node fails...
View ArticleSQL SERVER – Fixing Annoying Network Binding Order Error – Notes from the...
[Note from Pinal]: In this episode of the Notes from the Field series database expert Ryan Adams explains a very critical error user receive when binding network error. Ryan is one guy... The post SQL...
View Article