Let us learn how to get the last restore date for the backup in SQL Server. Here is a very simple script for the same. Let me know your feedback.
SQL SERVER – When to Use DBCC CLEANTABLE?
Recently a client of mine asked me – When to Use DBCC CLEANTABLE? A question to be discussed in Comprehensive Database Performance Health Check.
SQL SERVER – Easiest Way to Copy All Stored Procedure Definitions
Copy procedure definitions with SSMS, inspect SQL Server module text, and export readable procedures to one checked sqlcmd file.
SQL SERVER – Running SQL Agent Job After Completing Another Job
I faced my client while working on Comprehensive Database Performance Health Check. They wanted to run SQL Server Agent Job After Completing Another Job.
SQL SERVER – Deny Drop Permission for a Table
Lots of people asked me to write a follow-up blog post where we can deny drop permission for a table from the SQL Server Security Standpoint.
SQL SERVER – Check If a Column Exists 2016 Onwards
However, sometimes it is fun to learn new things as well. Let us learn how you can check if a column exists in a table from SQL Server 2016 and onwards.
SQL SERVER – Find Total Sessions by Database
Today we will see a very simple script that I often use during my Comprehensive Database Performance Health Check. Let us find Total Sessions By Database.





