I had a situation where I wanted to create a stored procedure in all databases for a specified SQL server.
I created a below code for that purpose.
I was analyzing IO stats in one of our SQL Servers and noticed that IO latency (Read / Write) are very high. As a rule of thumb, we know tha...