Today, we will see a very interesting script to list database file latency. I use this script quite often in my Performance Health Check.
As there was no owner, it was not possible to open that database in the SSMS. We had to find Owner of the Database and change it later on.
I was recently asked if I have a handy script that can help us take compressed backup and uncompressed backup. Well, of course.
Well, of course, there is an easy way to know this and that is Execution plan property. Is there any way to know if the executed query is from cache or not?
This is a very interesting function and it helps us to list databases where User Has DB Access. Well, it is pretty straightforward to know with the help of function HAS_DBACCES.