There are many applications which are developed using an older version of SQL Server. As there are new releases happening, there are features, command, and syntax which are marked as deprecated features and might get removed in future version of SQL Server. It is always challenging for the developer to remember what is changed in the new release of SQL Server and what changes they needed to make sure that their application works with the latest version of SQL Server.
SQL SERVER – Identify Version of SQL Server from Backup File
One question I always ask all of my customers before I start Comprehensive Database Performance Health Check is that if they have taken backup of their server. The answer to this question honestly does not matter to me during consultancy I never change anything which brings to the situation where they need to restore the database. However, when I asked this question to my client, they said they have an issue to identify a version of SQL Server from the backup file.
SQL SERVER – Creating Temporary and Global Temporary Stored Procedures
During recent Comprehensive Database Performance Health Check, I had a very interesting situation I encountered where we found a stored procedure which was a root cause of the slowness. What we needed to do is to change the code and test if our new stored procedure is better than previous stored procedure or not. One of the options was to create a new stored procedure by renaming the older stored procedure and keep on testing. However, there was a small risk if we forget to drop the newly created stored procedure there will be junk created in the database. Let us see how we can avoid this situation by creating temporary or global Temporary stored procedures.
What is the ROI of a SQL Server Monitoring Tool?
The increasing size of SQL Server databases, alongside the growing complexity of SQL Server estates, is making more organizations realize the need for a tool that enables proactive monitoring. Let us try to answer a question –Â What is the ROI of a SQL Server Monitoring Tool?
SQL SERVER – Database Attach Failure – Msg 2571 – User ‘guest’ Does Not Have Permission to Run DBCC Checkprimaryfile.
One of my clients was trying to recover from a disaster and wanted to attach the MDF and LDF files. While trying to do that, they encountered an error. In this blog we would learn about how to fix the error – User ‘guest’ does not have permission to run DBCC checkprimaryfile while attaching the database.
SQL SERVER – Puzzle – How Does YEAR Function Work?
There are many different datetime related functions such as DAY, MONTH, YEAR, DATEDIFF, etc available in SQL Server. For example, YEAR function can be used to extract year value from a date.
[Exclusive] Practical Real World Performance Tuning – Live Training Session for Limited Time
I am happy to announce that the new course Practical Real-World Performance Tuning, along with Brent Ozar (blog) is now live. We are accepting the registration for a limited time. This is very unique opportunity to learn Performance Tuning with real-world examples.Â
Pinal Dave is an SQL Server Performance Tuning Expert and independent consultant with over 24 years of hands-on experience. He holds a Masters of Science degree and numerous database certifications.
Pinal has authored 14 SQL Server database books and 109 Pluralsight courses. To freely share his knowledge and help others build their expertise, Pinal has also written more than 5,800 database tech articles on his blog at https://blog.sqlauthority.com.
Pinal is an experienced and dedicated professional with a deep commitment to flawless customer service. If you need help with any SQL Server Performance Tuning Issues, please feel free to reach out at pinal@sqlauthority.com.
Pinal is also a CrossFit Level 1 Trainer (CF-L1) and CrossFit Level 2 Trainer (CF-L2).
Nupur Dave is a social media enthusiast and an independent consultant. She primarily focuses on the database domain, helping clients build short and long-term multi-channel campaigns to drive leads for their sales pipeline.
Shaivi Pinalkumar Dave is a book author and a women’s artistic gymnast.
Is your SQL Server running slow and you want to speed it up without sharing server credentials? In my Comprehensive Database Performance Health Check, we can work together remotely and resolve your biggest performance troublemakers in less than 4 hours.
Once you learn my business secrets, you will fix the majority of problems in the future.
Have you ever opened any PowerPoint deck when you face SQL Server Performance Tuning emergencies? SQL Server Performance Tuning Practical Workshop is my MOST popular training with no PowerPoint presentations and 100% practical demonstrations.
Essentially I share my business secrets to optimize SQL Server performance.

![[Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time deprecatedfeatures [Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time deprecatedfeatures](https://blog.sqlauthority.com/wp-content/uploads/2018/03/deprecatedfeatures.jpg)
![[Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time databseversion [Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time databseversion](https://blog.sqlauthority.com/wp-content/uploads/2018/03/databseversion.jpg)
![[Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time tempsp-800x258 [Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time tempsp-800x258](https://blog.sqlauthority.com/wp-content/uploads/2018/03/tempsp-800x258.jpg)
![[Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time rg-dev-calc [Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time rg-dev-calc](https://blog.sqlauthority.com/wp-content/uploads/2018/03/rg-dev-calc.jpg)
![[Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time checkprimaryfile-err-01-800x724 [Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time checkprimaryfile-err-01-800x724](https://blog.sqlauthority.com/wp-content/uploads/2018/03/checkprimaryfile-err-01-800x724.jpg)
![[Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time puzzleyear1 [Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time puzzleyear1](https://blog.sqlauthority.com/wp-content/uploads/2018/03/puzzleyear1.jpg)
![[Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time Practical_Real_World_Performance_Tuning-800x800 [Exclusive] Practical Real World Performance Tuning - Live Training Session for Limited Time Practical_Real_World_Performance_Tuning-800x800](https://blog.sqlauthority.com/wp-content/uploads/2018/03/Practical_Real_World_Performance_Tuning-800x800.png)

