Question: How to Estimate Space Saved by Data Compression in SQL Server?
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.
SQL SERVER – Puzzle – SQL Server Stored Procedure and Unexpected Results
The matter of the fact when I discovered this puzzle related to the stored procedure and unexpected results, I was very much surprised as well.
How to Identify Session Used by SQL Server Management Studio? – Interview Question of the Week #151
Question: How to Identify Session Used by SQL Server Management Studio?
SQL SERVER- New DMF in SQL Server 2017 – sys.dm_os_file_exists. A Replacement of xp_fileexist
Recently I published a blog about new DMV in SQL Server 2017 called dm_os_enumerate_fixed_drives. While doing that I found another new DMF (Dynamic Management Function) sys.dm_os_file_exists.
SQL SERVER – How to Find Stored Procedure Execution Count and Average Elapsed Time?
Every single time when I go for Comprehensive Database Performance Health Check, I get many different questions from the users. However, there are some questions which are very common and I have started to build a list of the such questions so I can share the same with you. Today’s question is about the Stored Procedure Execution Count.