SQL SERVER – DMV to Get Host Information – sys.dm_os_host_info

There was a time when SQL Server used to run on only Microsoft Windows. However, the time has changed and SQL Server now runs on Linux as well. This is indeed a great move as I believe database such as SQL Server should be running on multiple platforms. This is indeed a very interesting but it ads one more additional check before I jump into Comprehensive Database Performance Health Check. In this blog post, we will learn about how to get host information from OS. 

Read More

SQL SERVER – Error While Enabling Windows Feature: NetFx3, Error Code: 2146498298

Due to development challenge people still use SQL 2012 in production. In one of the case a client told me that their application vendor has not approved SQL 2014 and above, so they were forced to install SQL 2012.  There were getting below error while trying to install SQL Server 2012. Let us learn how to fix error while enabling windows feature. 

Read More

SQL SERVER – How to Rename Extention of MDF File? – A Simple Tutorial

The other day while working with a customer during SQL Server Performance Tuning Practical Workshop, I noticed an MDF file with very strange extensions. When I asked the DBA why they have such a large data file with extension PDF (instead of common MDF file extension), he replied that honestly they have no idea who to rename a data file extension. They had once tried earlier, but that has sent their database into recovery and they had to revert that back immediately.

Read More